diff options
Diffstat (limited to 'drivers/acpi/scan.c')
-rw-r--r-- | drivers/acpi/scan.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index 1f75ba6afae6..5b42948ea97f 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c | |||
@@ -222,11 +222,6 @@ acpi_eject_store(struct acpi_device *device, const char *buf, size_t count) | |||
222 | /* -------------------------------------------------------------------------- | 222 | /* -------------------------------------------------------------------------- |
223 | ACPI Bus operations | 223 | ACPI Bus operations |
224 | -------------------------------------------------------------------------- */ | 224 | -------------------------------------------------------------------------- */ |
225 | static inline struct acpi_device * to_acpi_device(struct device * dev) | ||
226 | { | ||
227 | return container_of(dev, struct acpi_device, dev); | ||
228 | } | ||
229 | |||
230 | static int root_suspend(struct acpi_device * acpi_dev, pm_message_t state) | 225 | static int root_suspend(struct acpi_device * acpi_dev, pm_message_t state) |
231 | { | 226 | { |
232 | struct acpi_device * dev, * next; | 227 | struct acpi_device * dev, * next; |