linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hwmon: remove amd_energy driver in Makefile
@ 2021-08-17  8:48 Lukas Bulwahn
  2021-08-17 21:55 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Lukas Bulwahn @ 2021-08-17  8:48 UTC (permalink / raw)
  To: Jean Delvare, Guenter Roeck, linux-hwmon
  Cc: Greg Kroah-Hartman, kernel-janitors, linux-kernel, Lukas Bulwahn

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(-)

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
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] hwmon: remove amd_energy driver in Makefile
  2021-08-17  8:48 [PATCH] hwmon: remove amd_energy driver in Makefile Lukas Bulwahn
@ 2021-08-17 21:55 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2021-08-17 21:55 UTC (permalink / raw)
  To: Lukas Bulwahn
  Cc: Jean Delvare, linux-hwmon, Greg Kroah-Hartman, kernel-janitors,
	linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-17 21:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-17  8:48 [PATCH] hwmon: remove amd_energy driver in Makefile Lukas Bulwahn
2021-08-17 21:55 ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).