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 8ebd785485c73ddceba4047facf3960192a2cdf2..fed28abef419b81e1988c63eb24eac2fffab2180 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;