]> 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>
Wed, 19 Jun 2013 00:05:27 +0000 (10:05 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:12:42 +0000 (17:12 +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;