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 e188ada2ffd1cf7d72c826dbbb18a134d49b1458..d513ed6a49f2ec3fdf5b9786879d7f65f8e780c0 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);