2015-05-15 03:32:39

by Masahiro Yamada

[permalink] [raw]
Subject: [PATCH] pinctrl: zynq: add static to platform_driver remove callback

This function is only referenced in this file.

Signed-off-by: Masahiro Yamada <[email protected]>
---

drivers/pinctrl/pinctrl-zynq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/pinctrl-zynq.c b/drivers/pinctrl/pinctrl-zynq.c
index 22280bd..3d5453a 100644
--- a/drivers/pinctrl/pinctrl-zynq.c
+++ b/drivers/pinctrl/pinctrl-zynq.c
@@ -1149,7 +1149,7 @@ static int zynq_pinctrl_probe(struct platform_device *pdev)
return 0;
}

-int zynq_pinctrl_remove(struct platform_device *pdev)
+static int zynq_pinctrl_remove(struct platform_device *pdev)
{
struct zynq_pinctrl *pctrl = platform_get_drvdata(pdev);

--
1.9.1


2015-05-15 05:18:05

by Soren Brinkmann

[permalink] [raw]
Subject: Re: [PATCH] pinctrl: zynq: add static to platform_driver remove callback

On Fri, 2015-05-15 at 12:31PM +0900, Masahiro Yamada wrote:
> This function is only referenced in this file.
>
> Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Sören Brinkmann <[email protected]>

Sören

2015-05-19 09:29:09

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH] pinctrl: zynq: add static to platform_driver remove callback

On Fri, May 15, 2015 at 5:31 AM, Masahiro Yamada
<[email protected]> wrote:

> This function is only referenced in this file.
>
> Signed-off-by: Masahiro Yamada <[email protected]>

Patch applied with Sören's review tag.

Yours,
Linus Walleij