summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/twl-regulator.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-01-08 02:04:48 +0100
committerMark Brown <broonie@linaro.org>2014-01-08 18:16:07 +0100
commit3db398859312eed52354f73fcddbab80d9fae57c (patch)
treefd34be5002cd80d3627a2a4783be17c5c09869f8 /drivers/regulator/twl-regulator.c
parentLinux 3.13-rc1 (diff)
downloadlinux-3db398859312eed52354f73fcddbab80d9fae57c.tar.xz
linux-3db398859312eed52354f73fcddbab80d9fae57c.zip
regulator: twl: Fix checkpatch issue
Fix the following checkpatch warnings. WARNING: please, no space before tabs WARNING: space prohibited between function name and open parenthesis '(' Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Nishanth Menon <nm@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator/twl-regulator.c')
-rw-r--r--drivers/regulator/twl-regulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/twl-regulator.c b/drivers/regulator/twl-regulator.c
index 8ebd785485c7..fed28abef419 100644
--- a/drivers/regulator/twl-regulator.c
+++ b/drivers/regulator/twl-regulator.c
@@ -58,7 +58,7 @@ struct twlreg_info {
struct regulator_desc desc;
/* chip specific features */
- unsigned long features;
+ unsigned long features;
/*
* optional override functions for voltage set/get
@@ -1128,7 +1128,7 @@ static int twlreg_probe(struct platform_device *pdev)
if (!initdata)
return -EINVAL;
- info = kmemdup(template, sizeof (*info), GFP_KERNEL);
+ info = kmemdup(template, sizeof(*info), GFP_KERNEL);
if (!info)
return -ENOMEM;