diff mbox series

[-next] ARM: samsung: Remove obsoleted declaration for s3c_hwmon_set_platdata

Message ID 20240826033411.4022822-1-cuigaosheng1@huawei.com (mailing list archive)
State Accepted
Headers show
Series [-next] ARM: samsung: Remove obsoleted declaration for s3c_hwmon_set_platdata | expand

Commit Message

cuigaosheng Aug. 26, 2024, 3:34 a.m. UTC
The s3c_hwmon_set_platdata() have been removed since
commit 0d297df03890 ("ARM: s3c: simplify platform code"), and now
it is useless, so remove it.

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
---
 include/linux/platform_data/hwmon-s3c.h | 10 ----------
 1 file changed, 10 deletions(-)

Comments

Krzysztof Kozlowski Sept. 30, 2024, 10:47 a.m. UTC | #1
On Mon, 26 Aug 2024 11:34:11 +0800, Gaosheng Cui wrote:
> The s3c_hwmon_set_platdata() have been removed since
> commit 0d297df03890 ("ARM: s3c: simplify platform code"), and now
> it is useless, so remove it.
> 
> 

Applied, thanks!

[1/1] ARM: samsung: Remove obsoleted declaration for s3c_hwmon_set_platdata
      https://git.kernel.org/krzk/linux/c/0f702757c68b9790a844e5c07073d3d1c777b13a

Best regards,
diff mbox series

Patch

diff --git a/include/linux/platform_data/hwmon-s3c.h b/include/linux/platform_data/hwmon-s3c.h
index 1707ad4147df..7d21e0c41037 100644
--- a/include/linux/platform_data/hwmon-s3c.h
+++ b/include/linux/platform_data/hwmon-s3c.h
@@ -33,14 +33,4 @@  struct s3c_hwmon_pdata {
 	struct s3c_hwmon_chcfg	*in[8];
 };
 
-/**
- * s3c_hwmon_set_platdata - Set platform data for S3C HWMON device
- * @pd: Platform data to register to device.
- *
- * Register the given platform data for use with the S3C HWMON device.
- * The call will copy the platform data, so the board definitions can
- * make the structure itself __initdata.
- */
-extern void __init s3c_hwmon_set_platdata(struct s3c_hwmon_pdata *pd);
-
 #endif /* __HWMON_S3C_H__ */