summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorMallikarjun Kasoju <mkasoju@nvidia.com>2014-03-14 17:34:41 +0530
committerLaxman Dewangan <ldewangan@nvidia.com>2014-03-21 08:16:05 -0700
commitcbc5cf7785f825299aa0944eb18774aebbd758b5 (patch)
tree8581fade281e3b8bcdd048e8673c67cb25f9ce3a /drivers/regulator
parent21e9c70539658c64706ddaa1adf11c1a2f7f63ca (diff)
regulator: use correct data type
Bug 1466403 Change-Id: If9f1ea244989b82c042fa05f21587635cf457530 Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com> Reviewed-on: http://git-master/r/382007 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/core.c4
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];