summaryrefslogtreecommitdiff
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorShravani Dingari <shravanid@nvidia.com>2014-03-17 11:47:22 +0530
committerLaxman Dewangan <ldewangan@nvidia.com>2014-03-18 01:42:18 -0700
commit19f5971fad964537994028e9d27b8baa293aa5ea (patch)
tree97f22a2d86d71ab9593099ba63924b5ebd3b3837 /drivers/pinctrl
parent09bb4e5fcf824f925a8c454cb860925cec1ac8cd (diff)
pinctrl: pinconf: Use correct return type
Use correct return type for pinconf_dbg_config_write() api Change-Id: Ibb2e5beffd98535dc71f3d63f72e9f1749799829 Signed-off-by: Shravani Dingari <shravanid@nvidia.com> Reviewed-on: http://git-master/r/382410 Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/pinconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinconf.c b/drivers/pinctrl/pinconf.c
index 694c3ace4520..3a227c5f6f4c 100644
--- a/drivers/pinctrl/pinconf.c
+++ b/drivers/pinctrl/pinconf.c
@@ -674,7 +674,7 @@ exit:
* <devicename> <state> <pinname> are values that should match the pinctrl-maps
* <newvalue> reflects the new config and is driver dependant
*/
-static int pinconf_dbg_config_write(struct file *file,
+static ssize_t pinconf_dbg_config_write(struct file *file,
const char __user *user_buf, size_t count, loff_t *ppos)
{
struct pinctrl_maps *maps_node;