diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-06-28 20:55:29 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-26 00:33:14 +0400 |
commit | ded15b5af1f05a57badd7ea5a1428d2fec83a215 (patch) | |
tree | f434f44837034380c65b80e5f6053da50742e47b /drivers/staging/imx-drm | |
parent | 55b31cf40654b32a75e7c010f9345f361ccae927 (diff) | |
download | linux-ded15b5af1f05a57badd7ea5a1428d2fec83a215.tar.xz |
imx-drm: ipu-dp: Remove unneeded braces
No need to have braces for a single line 'if' block
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/imx-drm')
-rw-r--r-- | drivers/staging/imx-drm/ipu-v3/ipu-dp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/imx-drm/ipu-v3/ipu-dp.c b/drivers/staging/imx-drm/ipu-v3/ipu-dp.c index 04495158398e..6e0e9f1c6517 100644 --- a/drivers/staging/imx-drm/ipu-v3/ipu-dp.c +++ b/drivers/staging/imx-drm/ipu-v3/ipu-dp.c @@ -317,9 +317,8 @@ int ipu_dp_init(struct ipu_soc *ipu, struct device *dev, unsigned long base) ipu->dp_priv = priv; priv->base = devm_ioremap(dev, base, PAGE_SIZE); - if (!priv->base) { + if (!priv->base) return -ENOMEM; - } mutex_init(&priv->mutex); |