aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJingoo Han <[email protected]>2014-01-08 10:04:48 +0900
committerMark Brown <[email protected]>2014-01-08 17:16:07 +0000
commit3db398859312eed52354f73fcddbab80d9fae57c (patch)
treefd34be5002cd80d3627a2a4783be17c5c09869f8
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff)
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 <[email protected]> Acked-by: Nishanth Menon <[email protected]> Signed-off-by: Mark Brown <[email protected]>
-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;