2023-02-15 16:51:35

by Andy Shevchenko

[permalink] [raw]
Subject: [PATCH v1 1/1] rtc: rx6110: Remove unused of_gpio,h

of_gpio.h provides a single function, which is not used in this driver.
Remove unused header.

Signed-off-by: Andy Shevchenko <[email protected]>
---
drivers/rtc/rtc-rx6110.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/rtc/rtc-rx6110.c b/drivers/rtc/rtc-rx6110.c
index 76a49838014b..37608883a796 100644
--- a/drivers/rtc/rtc-rx6110.c
+++ b/drivers/rtc/rtc-rx6110.c
@@ -10,7 +10,6 @@
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
-#include <linux/of_gpio.h>
#include <linux/regmap.h>
#include <linux/rtc.h>
#include <linux/of.h>
--
2.39.1



2023-02-22 20:11:12

by Alexandre Belloni

[permalink] [raw]
Subject: Re: [PATCH v1 1/1] rtc: rx6110: Remove unused of_gpio,h


On Wed, 15 Feb 2023 18:50:30 +0200, Andy Shevchenko wrote:
> of_gpio.h provides a single function, which is not used in this driver.
> Remove unused header.
>
>

Applied, thanks!

[1/1] rtc: rx6110: Remove unused of_gpio,h
commit: 38892c48e54760be41f16519456d868e14933789

Best regards,

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com