diff options
-rw-r--r-- | drivers/regulator/twl-regulator.c | 4 |
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 { | |||
58 | struct regulator_desc desc; | 58 | struct regulator_desc desc; |
59 | 59 | ||
60 | /* chip specific features */ | 60 | /* chip specific features */ |
61 | unsigned long features; | 61 | unsigned long features; |
62 | 62 | ||
63 | /* | 63 | /* |
64 | * optional override functions for voltage set/get | 64 | * optional override functions for voltage set/get |
@@ -1128,7 +1128,7 @@ static int twlreg_probe(struct platform_device *pdev) | |||
1128 | if (!initdata) | 1128 | if (!initdata) |
1129 | return -EINVAL; | 1129 | return -EINVAL; |
1130 | 1130 | ||
1131 | info = kmemdup(template, sizeof (*info), GFP_KERNEL); | 1131 | info = kmemdup(template, sizeof(*info), GFP_KERNEL); |
1132 | if (!info) | 1132 | if (!info) |
1133 | return -ENOMEM; | 1133 | return -ENOMEM; |
1134 | 1134 | ||