power-supply: cw2015_battery: fix incorrect bracketing on a test
[firefly-linux-kernel-4.4.55.git] / drivers / pinctrl / pinconf.c
index 596a2522a6b1750b2c4c94c22f7c4177847f5bb4..d2103e546ce3e7a10882ded12232a537210eb300 100644 (file)
@@ -529,7 +529,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;