Commit ded15b5a authored by Fabio Estevam's avatar Fabio Estevam Committed by Greg Kroah-Hartman

imx-drm: ipu-dp: Remove unneeded braces

No need to have braces for a single line 'if' block
Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Acked-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Acked-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 55b31cf4
...@@ -317,9 +317,8 @@ int ipu_dp_init(struct ipu_soc *ipu, struct device *dev, unsigned long base) ...@@ -317,9 +317,8 @@ int ipu_dp_init(struct ipu_soc *ipu, struct device *dev, unsigned long base)
ipu->dp_priv = priv; ipu->dp_priv = priv;
priv->base = devm_ioremap(dev, base, PAGE_SIZE); priv->base = devm_ioremap(dev, base, PAGE_SIZE);
if (!priv->base) { if (!priv->base)
return -ENOMEM; return -ENOMEM;
}
mutex_init(&priv->mutex); mutex_init(&priv->mutex);
......
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