diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2007-07-16 02:40:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 12:05:46 -0400 |
commit | f3a740c5fb792098d7e7a24cd194a6d8c710ea94 (patch) | |
tree | 3280161b56e2bab39b1086a90449f96d62f7bfdd /drivers | |
parent | b663a79c191508f27cd885224b592a878c0ba0f6 (diff) |
sony-laptop: use NULL for pointer
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/misc/sony-laptop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/misc/sony-laptop.c b/drivers/misc/sony-laptop.c index 8ee0321ef1c8..9623eaf4f89f 100644 --- a/drivers/misc/sony-laptop.c +++ b/drivers/misc/sony-laptop.c | |||
@@ -1917,7 +1917,8 @@ end: | |||
1917 | */ | 1917 | */ |
1918 | static int sony_pic_disable(struct acpi_device *device) | 1918 | static int sony_pic_disable(struct acpi_device *device) |
1919 | { | 1919 | { |
1920 | if (ACPI_FAILURE(acpi_evaluate_object(device->handle, "_DIS", 0, NULL))) | 1920 | if (ACPI_FAILURE(acpi_evaluate_object(device->handle, |
1921 | "_DIS", NULL, NULL))) | ||
1921 | return -ENXIO; | 1922 | return -ENXIO; |
1922 | 1923 | ||
1923 | dprintk("Device disabled\n"); | 1924 | dprintk("Device disabled\n"); |