Commit 601a1b92 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Richard Purdie

leds/acpi: Fix merge fallout from acpi_driver_data change

Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarRichard Purdie <rpurdie@linux.intel.com>
parent fbf0baee
......@@ -98,7 +98,7 @@ static int hpled_add(struct acpi_device *device)
adev.device = device;
strcpy(acpi_device_name(device), DRIVER_NAME);
strcpy(acpi_device_class(device), ACPI_MDPS_CLASS);
acpi_driver_data(device) = &adev;
device->driver_data = &adev;
ret = led_classdev_register(NULL, &hpled_led);
return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment