video: smscufx: Use NULL instead of 0
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 25 Sep 2013 11:29:50 +0000 (16:59 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 26 Sep 2013 08:50:08 +0000 (11:50 +0300)
'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>
drivers/video/smscufx.c

index e188ada..d513ed6 100644 (file)
@@ -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);