Skip to content

Commit 601a1b9

Browse files
sfrothwellrpurdie
authored andcommitted
leds/acpi: Fix merge fallout from acpi_driver_data change
Signed-off-by: Stephen Rothwell <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
1 parent fbf0bae commit 601a1b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/leds/leds-hp-disk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ static int hpled_add(struct acpi_device *device)
9898
adev.device = device;
9999
strcpy(acpi_device_name(device), DRIVER_NAME);
100100
strcpy(acpi_device_class(device), ACPI_MDPS_CLASS);
101-
acpi_driver_data(device) = &adev;
101+
device->driver_data = &adev;
102102

103103
ret = led_classdev_register(NULL, &hpled_led);
104104
return ret;

0 commit comments

Comments
 (0)