Skip to content

Commit

Permalink
ACPI / scan: Move sysfs-related device code to a separate file
Browse files Browse the repository at this point in the history
To reduce the size of scan.c and improve the readability of it, move
all code related to device sysfs, modalias creation etc. to a new
file called device_sysfs.c.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Rafael J. Wysocki committed Jul 17, 2015
1 parent 21bdb58 commit c2efefb
Show file tree
Hide file tree
Showing 4 changed files with 532 additions and 483 deletions.
2 changes: 1 addition & 1 deletion drivers/acpi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ acpi-y += nvs.o
# Power management related files
acpi-y += wakeup.o
acpi-$(CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT) += sleep.o
acpi-y += device_pm.o
acpi-y += device_sysfs.o device_pm.o
acpi-$(CONFIG_ACPI_SLEEP) += proc.o


Expand Down
Loading

0 comments on commit c2efefb

Please sign in to comment.