mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
55b31cf406
commit
ded15b5af1
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue