regulator: core: do not continue if selector match
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Fri, 13 Nov 2020 17:56:04 +0000 (19:56 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 13 Nov 2020 18:02:07 +0000 (18:02 +0000)
commitab97800e088acf34d0014845ed93605dd5c1ea2a
tree6cd4fc2a7a42c6a81c867972143960e34cc2ec8f
parent2f595d08614691a2443987496995c24ff397abf9
regulator: core: do not continue if selector match

Do not continue if selector has already been located.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/1605290164-11556-1-git-send-email-claudiu.beznea@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c