diff mbox series

[-next] pinctrl: lantiq: Remove unsued declaration ltq_pinctrl_unregister()

Message ID 20230825092706.14680-1-yuehaibing@huawei.com
State New
Headers show
Series [-next] pinctrl: lantiq: Remove unsued declaration ltq_pinctrl_unregister() | expand

Commit Message

Yue Haibing Aug. 25, 2023, 9:27 a.m. UTC
From: YueHaibing <yuehaibing@huawei.com>

Commit 3f8c50c9b110 ("OF: pinctrl: MIPS: lantiq: implement lantiq/xway pinctrl support")
declared but never implemented it, so can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 drivers/pinctrl/pinctrl-lantiq.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Andy Shevchenko Aug. 25, 2023, 10:29 a.m. UTC | #1
On Fri, Aug 25, 2023 at 05:27:06PM +0800, Yue Haibing wrote:
> From: YueHaibing <yuehaibing@huawei.com>
> 
> Commit 3f8c50c9b110 ("OF: pinctrl: MIPS: lantiq: implement lantiq/xway pinctrl support")
> declared but never implemented it, so can be removed.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Linus Walleij Sept. 11, 2023, 1:42 p.m. UTC | #2
On Fri, Aug 25, 2023 at 11:27 AM Yue Haibing <yuehaibing@huawei.com> wrote:

> From: YueHaibing <yuehaibing@huawei.com>
>
> Commit 3f8c50c9b110 ("OF: pinctrl: MIPS: lantiq: implement lantiq/xway pinctrl support")
> declared but never implemented it, so can be removed.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>

Patch applied for fixes, thanks for fixing this Yue!

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/pinctrl/pinctrl-lantiq.h b/drivers/pinctrl/pinctrl-lantiq.h
index efb25fc34f14..1ac49ae638de 100644
--- a/drivers/pinctrl/pinctrl-lantiq.h
+++ b/drivers/pinctrl/pinctrl-lantiq.h
@@ -198,5 +198,4 @@  enum ltq_pin {
 
 extern int ltq_pinctrl_register(struct platform_device *pdev,
 				   struct ltq_pinmux_info *info);
-extern int ltq_pinctrl_unregister(struct platform_device *pdev);
 #endif	/* __PINCTRL_LANTIQ_H */