[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250331070600.3985850-1-andriy.shevchenko@linux.intel.com>
Date: Mon, 31 Mar 2025 10:06:00 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Heiko Stuebner <heiko@...ech.de>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>
Subject: [PATCH v1 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 <andriy.shevchenko@...ux.intel.com>
---
drivers/hwmon/qnap-mcu-hwmon.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/hwmon/qnap-mcu-hwmon.c b/drivers/hwmon/qnap-mcu-hwmon.c
index 29057514739c..e86e64c4d391 100644
--- a/drivers/hwmon/qnap-mcu-hwmon.c
+++ b/drivers/hwmon/qnap-mcu-hwmon.c
@@ -6,7 +6,6 @@
* Copyright (C) 2024 Heiko Stuebner <heiko@...ech.de>
*/
-#include <linux/fwnode.h>
#include <linux/hwmon.h>
#include <linux/mfd/qnap-mcu.h>
#include <linux/module.h>
--
2.47.2
Powered by blists - more mailing lists