staging: imx-drm: fix a blank line coding style issue
authorQuentin Lambert <lambert.quentin@gmail.com>
Mon, 4 Aug 2014 19:07:07 +0000 (21:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:12 +0000 (12:23 -0700)
Add missing blank lines after declaration.

Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/imx-drm-core.c
drivers/staging/imx-drm/imx-tve.c
drivers/staging/imx-drm/parallel-display.c

index 1852300412b47b1ee73dc21d494da8db917d3b91..4289cc8963e490a0efcd48a28a1f8870e9c7419d 100644 (file)
@@ -427,6 +427,7 @@ static uint32_t imx_drm_find_crtc_mask(struct imx_drm_device *imxdrm,
 
        for (i = 0; i < MAX_CRTC; i++) {
                struct imx_drm_crtc *imx_drm_crtc = imxdrm->crtc[i];
+
                if (imx_drm_crtc && imx_drm_crtc->port == port)
                        return drm_crtc_mask(imx_drm_crtc->crtc);
        }
@@ -438,6 +439,7 @@ static struct device_node *imx_drm_of_get_next_endpoint(
                const struct device_node *parent, struct device_node *prev)
 {
        struct device_node *node = of_graph_get_next_endpoint(parent, prev);
+
        of_node_put(prev);
        return node;
 }
index c628fcdc22aef31d80844e72e5198a27ecd98aa9..31fe7cfe5d35420ce19259f05c280e78f75eb032 100644 (file)
@@ -133,6 +133,7 @@ static void tve_lock(void *__tve)
 __acquires(&tve->lock)
 {
        struct imx_tve *tve = __tve;
+
        spin_lock(&tve->lock);
 }
 
@@ -140,6 +141,7 @@ static void tve_unlock(void *__tve)
 __releases(&tve->lock)
 {
        struct imx_tve *tve = __tve;
+
        spin_unlock(&tve->lock);
 }
 
index 4ca61afdf6222a3d425e3efdc0728cda42373dcb..1998846ff21dcf602fa7530b1b10f2e53e2fb72e 100644 (file)
@@ -70,6 +70,7 @@ static int imx_pd_connector_get_modes(struct drm_connector *connector)
 
        if (imxpd->mode_valid) {
                struct drm_display_mode *mode = drm_mode_create(connector->dev);
+
                if (!mode)
                        return -EINVAL;
                drm_mode_copy(mode, &imxpd->mode);
@@ -80,6 +81,7 @@ static int imx_pd_connector_get_modes(struct drm_connector *connector)
 
        if (np) {
                struct drm_display_mode *mode = drm_mode_create(connector->dev);
+
                if (!mode)
                        return -EINVAL;
                of_get_drm_display_mode(np, &imxpd->mode, OF_USE_NATIVE_MODE);