hwmon: (qnap-mcu) Remove (explicitly) unused header
Subsystems (2)
PATCH 1/1 hwmon: (qnap-mcu) Remove (explicitly) unused header
The fwnode.h is not supposed to be used by the drivers as it has the definitions for the core parts for different device property provider implementations. Drop it.
Note, that fwnode API for drivers is provided in property.h which is included here.
Signed-off-by Andy Shevchenko <[email protected]>
--- drivers/hwmon/qnap-mcu-hwmon.c | 1 - 1 file changed, 1 deletion(-)
drivers/hwmon/qnap-mcu-hwmon.c +0 -1
@@ -6,7 +6,6 @@* Copyright (C) 2024 Heiko Stuebner <[email protected]> */ -#include <linux/fwnode.h> #include <linux/hwmon.h> #include <linux/mfd/qnap-mcu.h> #include <linux/module.h>
Signature · 1 line
2.47.2
Quoted 8 lines · Andy Shevchenko
The
fwnode.his not supposed to be used by the drivers as it has the definitions for the core parts for different device property provider implementations. Drop it.Note, that fwnode API for drivers is provided in
property.hwhich is included here.Signed-off-by Andy Shevchenko <[email protected]>
Applied.
Thanks,
Guenter
Quoted 16 lines
--- drivers/hwmon/qnap-mcu-hwmon.c | 1 - 1 file changed, 1 deletion(-)drivers/hwmon/qnap-mcu-hwmon.c +0
-1@@ -6,7 +6,6 @@* Copyright (C) 2024 Heiko Stuebner <[email protected]> */ -#include <linux/fwnode.h> #include <linux/hwmon.h> #include <linux/mfd/qnap-mcu.h> #include <linux/module.h>