diff options
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 5d343bbc7155..f4fd7eced264 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -4656,8 +4656,8 @@ unlock: } #ifdef CONFIG_DEBUG_FS -static int regulator_syncevent(struct file *file, const char __user *user_buf, - size_t count, loff_t *ppos) +static ssize_t regulator_syncevent(struct file *file, + const char __user *user_buf, size_t count, loff_t *ppos) { struct regulator_dev *rdev; char buffer[40]; |