]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/video/smscufx.c: use NULL instead of 0
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 27 Jun 2013 23:50:53 +0000 (09:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:37:10 +0000 (16:37 +1000)
'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: Andrew Morton <akpm@linux-foundation.org>
drivers/video/smscufx.c

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