regulator: twl: Fix checkpatch issue
authorJingoo Han <jg1.han@samsung.com>
Wed, 8 Jan 2014 01:04:48 +0000 (10:04 +0900)
committerMark Brown <broonie@linaro.org>
Wed, 8 Jan 2014 17:16:07 +0000 (17:16 +0000)
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>
drivers/regulator/twl-regulator.c

index 8ebd785..fed28ab 100644 (file)
@@ -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;