diff mbox series

hwmon: remove amd_energy driver in Makefile

Message ID 20210817084811.10673-1-lukas.bulwahn@gmail.com (mailing list archive)
State Accepted
Headers show
Series hwmon: remove amd_energy driver in Makefile | expand

Commit Message

Lukas Bulwahn Aug. 17, 2021, 8:48 a.m. UTC
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")
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
 drivers/hwmon/Makefile | 1 -
 1 file changed, 1 deletion(-)

Comments

Guenter Roeck Aug. 17, 2021, 9:55 p.m. UTC | #1
On Tue, Aug 17, 2021 at 10:48:11AM +0200, Lukas Bulwahn wrote:
> 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")
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>

Applied.

Thanks,
Guenter

> ---
>  drivers/hwmon/Makefile | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/hwmon/Makefile b/drivers/hwmon/Makefile
> index 53a8f4b500b8..4b33421746c0 100644
> --- a/drivers/hwmon/Makefile
> +++ b/drivers/hwmon/Makefile
> @@ -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
diff mbox series

Patch

diff --git a/drivers/hwmon/Makefile b/drivers/hwmon/Makefile
index 53a8f4b500b8..4b33421746c0 100644
--- a/drivers/hwmon/Makefile
+++ b/drivers/hwmon/Makefile
@@ -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