From: Jingoo Han Date: Wed, 8 Jan 2014 01:04:48 +0000 (+0900) Subject: regulator: twl: Fix checkpatch issue X-Git-Tag: firefly_0821_release~176^2~4568^2^8 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3db398859312eed52354f73fcddbab80d9fae57c;p=firefly-linux-kernel-4.4.55.git 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 Acked-by: Nishanth Menon Signed-off-by: Mark Brown --- 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;