mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
7482d6ecc6
commit
03ffbf9c08
|
@ -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, ®ulators[i], &config);
|
||||
rdev = devm_regulator_register(&pdev->dev, ®ulators[i],
|
||||
&config);
|
||||
if (IS_ERR(rdev)) {
|
||||
dev_err(&pdev->dev,
|
||||
"failed to register %s regulator\n",
|
||||
|
|
Loading…
Reference in New Issue