summaryrefslogtreecommitdiffstats
path: root/drivers/video/smscufx.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-25 16:59:50 +0530
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-26 11:50:08 +0300
commit9aae307c6a484b373892d5bec153a7be7e050868 (patch)
tree40152bb0039e44e14e24790b5236162782e709c1 /drivers/video/smscufx.c
parentceeddb4e69b2010b0f4f88c9e06dc83d80b49db6 (diff)
downloadlinux-9aae307c6a484b373892d5bec153a7be7e050868.tar.gz
linux-9aae307c6a484b373892d5bec153a7be7e050868.tar.bz2
linux-9aae307c6a484b373892d5bec153a7be7e050868.zip
video: smscufx: Use NULL instead of 0
'info' is a pointer. Use NULL instead of 0. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Cc: Steve Glendinning <steve.glendinning@shawell.net> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/smscufx.c')
-rw-r--r--drivers/video/smscufx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/smscufx.c b/drivers/video/smscufx.c
index e188ada2ffd1..d513ed6a49f2 100644
--- a/drivers/video/smscufx.c
+++ b/drivers/video/smscufx.c
@@ -1147,7 +1147,7 @@ static void ufx_free_framebuffer_work(struct work_struct *work)
fb_destroy_modelist(&info->modelist);
- dev->info = 0;
+ dev->info = NULL;
/* Assume info structure is freed after this point */
framebuffer_release(info);