Skip to contentSkip to conversation

hwmon: remove amd_energy driver in Makefile

PATCH Applied Lukas Bulwahn 2 participants 2 messages Aug 17, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon: remove amd_energy driver in Makefile

Commit 9049572fb145 ("hwmon: Remove amd_energy driver") removes the driver, but misses to adjust the Makefile.

Hence, ./scripts/checkkconfigsymbols.py warns:

SENSORS_AMD_ENERGY
Referencing files: drivers/hwmon/Makefile

Remove the missing piece of this driver removal.

Fixes 9049572fb145 ("hwmon: Remove amd_energy driver")
---
 drivers/hwmon/Makefile | 1 -
 1 file changed, 1 deletion(-)
drivers/hwmon/Makefile +0 -1
index 53a8f4b500b8..4b33421746c0 100644
@@ -45,7 +45,6 @@ obj-$(CONFIG_SENSORS_ADT7462)	+= adt7462.o
 obj-$(CONFIG_SENSORS_ADT7470)	+= adt7470.o
 obj-$(CONFIG_SENSORS_ADT7475)	+= adt7475.o
 obj-$(CONFIG_SENSORS_AHT10)	+= aht10.o
-obj-$(CONFIG_SENSORS_AMD_ENERGY) += amd_energy.o
 obj-$(CONFIG_SENSORS_APPLESMC)	+= applesmc.o
 obj-$(CONFIG_SENSORS_ARM_SCMI)	+= scmi-hwmon.o
 obj-$(CONFIG_SENSORS_ARM_SCPI)	+= scpi-hwmon.o
Signature · 1 line
2.26.2
maintainer Applied
#1 lore raw
Quoted 5 lines · Lukas Bulwahn

Commit 9049572fb145 ("hwmon: Remove amd_energy driver") removes the driver, but misses to adjust the Makefile.

Hence, ./scripts/checkkconfigsymbols.py warns:

Quoted 7 lines

SENSORS_AMD_ENERGY
Referencing files: drivers/hwmon/Makefile

Remove the missing piece of this driver removal.

Fixes 9049572fb145 ("hwmon: Remove amd_energy driver")

Applied.

Thanks,
Guenter

Quoted 16 lines
---
 drivers/hwmon/Makefile | 1 -
 1 file changed, 1 deletion(-)
drivers/hwmon/Makefile +0 -1
index 53a8f4b500b8..4b33421746c0 100644
@@ -45,7 +45,6 @@ obj-$(CONFIG_SENSORS_ADT7462)	+= adt7462.o
 obj-$(CONFIG_SENSORS_ADT7470)	+= adt7470.o
 obj-$(CONFIG_SENSORS_ADT7475)	+= adt7475.o
 obj-$(CONFIG_SENSORS_AHT10)	+= aht10.o
-obj-$(CONFIG_SENSORS_AMD_ENERGY) += amd_energy.o
 obj-$(CONFIG_SENSORS_APPLESMC)	+= applesmc.o
 obj-$(CONFIG_SENSORS_ARM_SCMI)	+= scmi-hwmon.o
 obj-$(CONFIG_SENSORS_ARM_SCPI)	+= scpi-hwmon.o