提交 ded15b5a 编写于 作者: F Fabio Estevam 提交者: Greg Kroah-Hartman

imx-drm: ipu-dp: Remove unneeded braces

No need to have braces for a single line 'if' block
Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
Acked-by: NSascha Hauer <s.hauer@pengutronix.de>
Acked-by: NPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册