diff mbox series

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

Message ID 20240816095740.877729-1-yuehaibing@huawei.com (mailing list archive)
State Accepted
Headers show
Series [-next] hwmon: (sch5627) Remove unused declaration sch56xx_watchdog_unregister() | expand

Commit Message

Yue Haibing Aug. 16, 2024, 9:57 a.m. UTC
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(-)

Comments

Guenter Roeck Aug. 16, 2024, 2:07 p.m. UTC | #1
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
diff mbox series

Patch

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