diff mbox

pinctrl: zynq: add static to platform_driver remove callback

Message ID 1431660698-30992-1-git-send-email-yamada.masahiro@socionext.com
State New, archived
Headers show

Commit Message

Masahiro Yamada May 15, 2015, 3:31 a.m. UTC
This function is only referenced in this file.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

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

Comments

Soren Brinkmann May 15, 2015, 3:45 a.m. UTC | #1
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 <yamada.masahiro@socionext.com>
Reviewed-by: Sören Brinkmann <soren.brinkmann@xilinx.com>

	Sören
Linus Walleij May 19, 2015, 9:29 a.m. UTC | #2
On Fri, May 15, 2015 at 5:31 AM, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:

> This function is only referenced in this file.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

Patch applied with Sören's review tag.

Yours,
Linus Walleij
diff mbox

Patch

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);