diff mbox

drm/exynos/hdmi: add a missing tab

Message ID 20160512195457.GA19095@mwanda (mailing list archive)
State New, archived
Headers show

Commit Message

Dan Carpenter May 12, 2016, 7:54 p.m. UTC
Smatch warns that the if statement isn't indented.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Comments

Daniel Vetter May 17, 2016, 7:10 a.m. UTC | #1
On Thu, May 12, 2016 at 10:54:57PM +0300, Dan Carpenter wrote:
> Smatch warns that the if statement isn't indented.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Applied to drm-misc, thanks.
-Daniel

> 
> diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c
> index 0f87acb..748e62f 100644
> --- a/drivers/gpu/drm/exynos/exynos_hdmi.c
> +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c
> @@ -1612,7 +1612,7 @@ static int hdmi_clk_init(struct hdmi_context *hdata)
>  
>  	clks = devm_kzalloc(dev, sizeof(*clks) * count, GFP_KERNEL);
>  	if (!clks)
> -	return -ENOMEM;
> +		return -ENOMEM;
>  
>  	hdata->clk_gates = clks;
>  	hdata->clk_muxes = clks + drv_data->clk_gates.count;
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
diff mbox

Patch

diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c
index 0f87acb..748e62f 100644
--- a/drivers/gpu/drm/exynos/exynos_hdmi.c
+++ b/drivers/gpu/drm/exynos/exynos_hdmi.c
@@ -1612,7 +1612,7 @@  static int hdmi_clk_init(struct hdmi_context *hdata)
 
 	clks = devm_kzalloc(dev, sizeof(*clks) * count, GFP_KERNEL);
 	if (!clks)
-	return -ENOMEM;
+		return -ENOMEM;
 
 	hdata->clk_gates = clks;
 	hdata->clk_muxes = clks + drv_data->clk_gates.count;