mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Move ACPI power meter driver to hwmon
As discussed earlier, the ACPI power meter driver would better live in drivers/hwmon, as its only purpose is to create hwmon-style interfaces for ACPI 4.0 power meter devices. Users are more likely to look for it there, and less likely to accidentally hide it by unselecting its dependencies. Signed-off-by: Jean Delvare <[email protected]> Acked-by: "Darrick J. Wong" <[email protected]> Acked-by: Guenter Roeck <[email protected]> Cc: Len Brown <[email protected]>
This commit is contained in:
parent
629c58bac0
commit
7d03336538
5 changed files with 11 additions and 12 deletions
|
|
@ -1351,6 +1351,16 @@ if ACPI
|
|||
|
||||
comment "ACPI drivers"
|
||||
|
||||
config SENSORS_ACPI_POWER
|
||||
tristate "ACPI 4.0 power meter"
|
||||
help
|
||||
This driver exposes ACPI 4.0 power meters as hardware monitoring
|
||||
devices. Say Y (or M) if you have a computer with ACPI 4.0 firmware
|
||||
and a power meter.
|
||||
|
||||
To compile this driver as a module, choose M here:
|
||||
the module will be called acpi_power_meter.
|
||||
|
||||
config SENSORS_ATK0110
|
||||
tristate "ASUS ATK0110"
|
||||
depends on X86 && EXPERIMENTAL
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ obj-$(CONFIG_HWMON) += hwmon.o
|
|||
obj-$(CONFIG_HWMON_VID) += hwmon-vid.o
|
||||
|
||||
# APCI drivers
|
||||
obj-$(CONFIG_SENSORS_ACPI_POWER) += acpi_power_meter.o
|
||||
obj-$(CONFIG_SENSORS_ATK0110) += asus_atk0110.o
|
||||
|
||||
# Native drivers
|
||||
|
|
|
|||
1023
drivers/hwmon/acpi_power_meter.c
Normal file
1023
drivers/hwmon/acpi_power_meter.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue