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:
Родитель
55b31cf406
Коммит
ded15b5af1
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче