summaryrefslogtreecommitdiff
path: root/drivers/regulator/act8945a-regulator.c
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2018-12-11 18:56:45 +0300
committerMark Brown <broonie@kernel.org>2018-12-12 19:59:19 +0300
commit03ffbf9c0891caf8723c81967ceea5faf5d099d5 (patch)
tree54aa2bab32ab729a46edcb4d1abb62e57676103f /drivers/regulator/act8945a-regulator.c
parent7482d6ecc68e16a2b8272b0c9cbcc5c50edf013f (diff)
downloadlinux-03ffbf9c0891caf8723c81967ceea5faf5d099d5.tar.xz
regulator: act8945a-regulator: fix line over 80 chars warning
Fix line over 80 chars checkpatch.pl warning. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/act8945a-regulator.c')
-rw-r--r--drivers/regulator/act8945a-regulator.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/regulator/act8945a-regulator.c b/drivers/regulator/act8945a-regulator.c
index f37d1a860407..f4d60743efb3 100644
--- a/drivers/regulator/act8945a-regulator.c
+++ b/drivers/regulator/act8945a-regulator.c
@@ -310,7 +310,8 @@ static int act8945a_pmic_probe(struct platform_device *pdev)
config.dev->of_node = pdev->dev.parent->of_node;
config.driver_data = act8945a;
for (i = 0; i < num_regulators; i++) {
- rdev = devm_regulator_register(&pdev->dev, &regulators[i], &config);
+ rdev = devm_regulator_register(&pdev->dev, &regulators[i],
+ &config);
if (IS_ERR(rdev)) {
dev_err(&pdev->dev,
"failed to register %s regulator\n",