]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sony-laptop: use NULL for pointer
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 16 Jul 2007 06:40:49 +0000 (23:40 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:46 +0000 (09:05 -0700)
Use NULL instead of 0 for pointer:
drivers/misc/sony-laptop.c:1920:6: warning: Using plain integer as NULL pointer

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/sony-laptop.c

index 8ee0321ef1c8f6226a62ad5a20680a8866b69773..9623eaf4f89fdf7cb479cb0ad0bc06bec915e206 100644 (file)
@@ -1917,7 +1917,8 @@ end:
  */
 static int sony_pic_disable(struct acpi_device *device)
 {
-       if (ACPI_FAILURE(acpi_evaluate_object(device->handle, "_DIS", 0, NULL)))
+       if (ACPI_FAILURE(acpi_evaluate_object(device->handle,
+                       "_DIS", NULL, NULL)))
                return -ENXIO;
 
        dprintk("Device disabled\n");