Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

leds/acpi: Fix merge fallout from acpi_driver_data change

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>

authored by

Stephen Rothwell and committed by
Richard Purdie
601a1b92 fbf0baee

+1 -1
+1 -1
drivers/leds/leds-hp-disk.c
··· 98 98 adev.device = device; 99 99 strcpy(acpi_device_name(device), DRIVER_NAME); 100 100 strcpy(acpi_device_class(device), ACPI_MDPS_CLASS); 101 - acpi_driver_data(device) = &adev; 101 + device->driver_data = &adev; 102 102 103 103 ret = led_classdev_register(NULL, &hpled_led); 104 104 return ret;