projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceeddb4
)
video: smscufx: Use NULL instead of 0
author
Sachin Kamat
<sachin.kamat@linaro.org>
Wed, 25 Sep 2013 11:29:50 +0000
(16:59 +0530)
committer
Tomi 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
patch
|
blob
|
history
diff --git
a/drivers/video/smscufx.c
b/drivers/video/smscufx.c
index e188ada2ffd1cf7d72c826dbbb18a134d49b1458..d513ed6a49f2ec3fdf5b9786879d7f65f8e780c0 100644
(file)
--- 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);