[PATCH -next] hwmon: (sch5627) Remove unused declaration sch56xx_watchdog_unregister()

Yue Haibing posted 1 patch 1 year, 5 months ago
drivers/hwmon/sch56xx-common.h | 1 -
1 file changed, 1 deletion(-)
[PATCH -next] hwmon: (sch5627) Remove unused declaration sch56xx_watchdog_unregister()
Posted by Yue Haibing 1 year, 5 months ago
Commit 2be5f0d75325 ("hwmon: (sch56xx) Use devres functions for watchdog")
removed the implementation but leave declaration.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 drivers/hwmon/sch56xx-common.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/hwmon/sch56xx-common.h b/drivers/hwmon/sch56xx-common.h
index 7479a549a026..601987c6b4cd 100644
--- a/drivers/hwmon/sch56xx-common.h
+++ b/drivers/hwmon/sch56xx-common.h
@@ -22,4 +22,3 @@ int sch56xx_read_virtual_reg12(u16 addr, u16 msb_reg, u16 lsn_reg,
 
 void sch56xx_watchdog_register(struct device *parent, u16 addr, u32 revision,
 			       struct mutex *io_lock, int check_enabled);
-void sch56xx_watchdog_unregister(struct sch56xx_watchdog_data *data);
-- 
2.34.1
Re: [PATCH -next] hwmon: (sch5627) Remove unused declaration sch56xx_watchdog_unregister()
Posted by Guenter Roeck 1 year, 5 months ago
On Fri, Aug 16, 2024 at 05:57:40PM +0800, Yue Haibing wrote:
> Commit 2be5f0d75325 ("hwmon: (sch56xx) Use devres functions for watchdog")
> removed the implementation but leave declaration.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>

Applied.

Thanks,
Guenter