Commit 63bc5164 authored by Quentin Lambert's avatar Quentin Lambert Committed by Greg Kroah-Hartman

staging: imx-drm: fix a blank line coding style issue

Add missing blank lines after declaration.
Signed-off-by: default avatarQuentin Lambert <lambert.quentin@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ddf5a2c1
...@@ -427,6 +427,7 @@ static uint32_t imx_drm_find_crtc_mask(struct imx_drm_device *imxdrm, ...@@ -427,6 +427,7 @@ static uint32_t imx_drm_find_crtc_mask(struct imx_drm_device *imxdrm,
for (i = 0; i < MAX_CRTC; i++) { for (i = 0; i < MAX_CRTC; i++) {
struct imx_drm_crtc *imx_drm_crtc = imxdrm->crtc[i]; struct imx_drm_crtc *imx_drm_crtc = imxdrm->crtc[i];
if (imx_drm_crtc && imx_drm_crtc->port == port) if (imx_drm_crtc && imx_drm_crtc->port == port)
return drm_crtc_mask(imx_drm_crtc->crtc); return drm_crtc_mask(imx_drm_crtc->crtc);
} }
...@@ -438,6 +439,7 @@ static struct device_node *imx_drm_of_get_next_endpoint( ...@@ -438,6 +439,7 @@ static struct device_node *imx_drm_of_get_next_endpoint(
const struct device_node *parent, struct device_node *prev) const struct device_node *parent, struct device_node *prev)
{ {
struct device_node *node = of_graph_get_next_endpoint(parent, prev); struct device_node *node = of_graph_get_next_endpoint(parent, prev);
of_node_put(prev); of_node_put(prev);
return node; return node;
} }
......
...@@ -133,6 +133,7 @@ static void tve_lock(void *__tve) ...@@ -133,6 +133,7 @@ static void tve_lock(void *__tve)
__acquires(&tve->lock) __acquires(&tve->lock)
{ {
struct imx_tve *tve = __tve; struct imx_tve *tve = __tve;
spin_lock(&tve->lock); spin_lock(&tve->lock);
} }
...@@ -140,6 +141,7 @@ static void tve_unlock(void *__tve) ...@@ -140,6 +141,7 @@ static void tve_unlock(void *__tve)
__releases(&tve->lock) __releases(&tve->lock)
{ {
struct imx_tve *tve = __tve; struct imx_tve *tve = __tve;
spin_unlock(&tve->lock); spin_unlock(&tve->lock);
} }
......
...@@ -70,6 +70,7 @@ static int imx_pd_connector_get_modes(struct drm_connector *connector) ...@@ -70,6 +70,7 @@ static int imx_pd_connector_get_modes(struct drm_connector *connector)
if (imxpd->mode_valid) { if (imxpd->mode_valid) {
struct drm_display_mode *mode = drm_mode_create(connector->dev); struct drm_display_mode *mode = drm_mode_create(connector->dev);
if (!mode) if (!mode)
return -EINVAL; return -EINVAL;
drm_mode_copy(mode, &imxpd->mode); drm_mode_copy(mode, &imxpd->mode);
...@@ -80,6 +81,7 @@ static int imx_pd_connector_get_modes(struct drm_connector *connector) ...@@ -80,6 +81,7 @@ static int imx_pd_connector_get_modes(struct drm_connector *connector)
if (np) { if (np) {
struct drm_display_mode *mode = drm_mode_create(connector->dev); struct drm_display_mode *mode = drm_mode_create(connector->dev);
if (!mode) if (!mode)
return -EINVAL; return -EINVAL;
of_get_drm_display_mode(np, &imxpd->mode, OF_USE_NATIVE_MODE); of_get_drm_display_mode(np, &imxpd->mode, OF_USE_NATIVE_MODE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment