Skip to content

Commit

Permalink
regulator: twl: Fix checkpatch issue
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jingoo Han authored and Mark Brown committed Jan 8, 2014
1 parent 6ce4eac commit 3db3988
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/regulator/twl-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 3db3988

Please sign in to comment.