From f6323c6d4013443153cf43670407fd14faf59f2b Mon Sep 17 00:00:00 2001 From: yxj Date: Wed, 23 Apr 2014 09:30:36 +0800 Subject: [PATCH] rk screen: fix CodingStyle --- drivers/video/rockchip/screen/rk_screen.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/video/rockchip/screen/rk_screen.c b/drivers/video/rockchip/screen/rk_screen.c index 49a1a8aec13e..072a3cb8a105 100755 --- a/drivers/video/rockchip/screen/rk_screen.c +++ b/drivers/video/rockchip/screen/rk_screen.c @@ -29,14 +29,15 @@ static int rk_screen_probe(struct platform_device *pdev) dev_err(&pdev->dev, "Missing device tree node.\n"); return -EINVAL; } - rk_screen = devm_kzalloc(&pdev->dev, sizeof(struct rk_screen), GFP_KERNEL); + rk_screen = devm_kzalloc(&pdev->dev, + sizeof(struct rk_screen), GFP_KERNEL); if (!rk_screen) { dev_err(&pdev->dev, "kmalloc for rk screen fail!"); return -ENOMEM; } - ret = rk_fb_prase_timing_dt(np,rk_screen); + ret = rk_fb_prase_timing_dt(np, rk_screen); dev_info(&pdev->dev, "rockchip screen probe %s\n", - ret? "failed" : "success"); + ret ? "failed" : "success"); return ret; } -- 2.34.1