]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: samsung: Remove obsoleted declaration for s3c_hwmon_set_platdata
authorGaosheng Cui <cuigaosheng1@huawei.com>
Mon, 26 Aug 2024 03:34:11 +0000 (11:34 +0800)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 30 Sep 2024 10:47:11 +0000 (12:47 +0200)
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>
Link: https://lore.kernel.org/r/20240826033411.4022822-1-cuigaosheng1@huawei.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
include/linux/platform_data/hwmon-s3c.h

index 1707ad4147df282d748eb5c8f2763be06f10dadd..7d21e0c4103789c7599d1d0b309ab805ce72164f 100644 (file)
@@ -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__ */