projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbf0bae
)
leds/acpi: Fix merge fallout from acpi_driver_data change
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Thu, 23 Oct 2008 21:35:19 +0000
(22:35 +0100)
committer
Richard Purdie
<rpurdie@linux.intel.com>
Thu, 23 Oct 2008 21:35:19 +0000
(22:35 +0100)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/leds/leds-hp-disk.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/leds/leds-hp-disk.c
b/drivers/leds/leds-hp-disk.c
index d636280198ab349ba0df20c4a18ee5aed32b53c4..53a25b1c2dae8096d071d8ee2927d4bd8f644020 100644
(file)
--- a/
drivers/leds/leds-hp-disk.c
+++ b/
drivers/leds/leds-hp-disk.c
@@
-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;