regulator: remove extraneous semicolon
PATCH 1/1 regulator: remove extraneous semicolon
An extraneous ";" after the if statement is a bad idea.
Signed-off-by Eugene Teo <[email protected]>
--- drivers/regulator/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/regulator/core.c +2 -2
@@ -540,8 +540,8 @@ static void drms_uA_update(struct regulator_dev *rdev) err =regulator_check_drms (rdev);if (err <0 || !rdev->desc->ops->get_optimum_mode || - !rdev->desc->ops->get_voltage || !rdev->desc->ops->set_mode); -return ; + !rdev->desc->ops->get_voltage || !rdev->desc->ops->set_mode) +return ;/* get output voltage */ output_uV = rdev->desc->ops->get_voltage (rdev);
Quoted 3 lines · Eugene Teo
An extraneous ";" after the if statement is a bad idea.
Signed-off-by Eugene Teo <[email protected]>
Someone sent the same patch a couple of days ago so that one might end up getting merged instead but in any case
Acked-by Mark Brown <[email protected]>
Quoted 8 lines · Mark Brown
Quoted 3 lines · Eugene Teo
An extraneous ";" after the if statement is a bad idea.
Signed-off-by Eugene Teo <[email protected]>Someone sent the same patch a couple of days ago so that one might end up getting merged instead but in any case
Thanks, I've just applied the earlier patch as it was first in my inbox.
Liam