Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3a740c5 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds
Browse files

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Acked-by: default avatarMattia Dongili <malattia@linux.it>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b663a79c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1917,7 +1917,8 @@ static int sony_pic_possible_resources(struct acpi_device *device)
 */
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");