summaryrefslogtreecommitdiffstats
path: root/drivers/video/smscufx.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-10 13:35:07 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-06-26 13:50:53 +0200
commit414aa06e874dcffaf44a80bc178ed21592c3b990 (patch)
tree92e330902ea1a6a8d8ecc0b3ad69143850cf190a /drivers/video/smscufx.c
parentvideo: remove unnecessary platform_set_drvdata() (diff)
downloadlinux-414aa06e874dcffaf44a80bc178ed21592c3b990.tar.xz
linux-414aa06e874dcffaf44a80bc178ed21592c3b990.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> Acked-by: 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 b2b33fc1ac3f..e188ada2ffd1 100644
--- a/drivers/video/smscufx.c
+++ b/drivers/video/smscufx.c
@@ -1622,7 +1622,7 @@ static int ufx_usb_probe(struct usb_interface *interface,
{
struct usb_device *usbdev;
struct ufx_data *dev;
- struct fb_info *info = 0;
+ struct fb_info *info = NULL;
int retval = -ENOMEM;
u32 id_rev, fpga_rev;