pinctrl: fix pinconf_dbg_config_write return type
authorVincent Stehlé <vincent.stehle@laposte.net>
Mon, 16 Sep 2013 20:50:32 +0000 (22:50 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 23 Sep 2013 08:47:03 +0000 (10:47 +0200)
commit3b59e432ec9c093311e0ad057e330e04feb79007
tree0f34e6d0b67ae7d2ff47f9878fea3232e76db181
parentde059be983db710379d965a7baa0a01275795c95
pinctrl: fix pinconf_dbg_config_write return type

Have pinconf_dbg_config_write() return a ssize_t. This fixes the following
compilation warning:

  drivers/pinctrl/pinconf.c:617:2: warning: initialization from incompatible pointer type [enabled by default]
  drivers/pinctrl/pinconf.c:617:2: warning: (near initialization for ‘pinconf_dbg_pinconfig_fops.write’) [enabled by default]

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinconf.c