regulator: import linear voltage range helpers
The incoming stpmic1 regulator driver makes use of these helpers
internally. Thus port them out of Linux v5.3.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent e0e52b8 commit 3e7e76a81aef908f2e1c11e72e3bb8de8bee8f46
@Ahmad Fatoum Ahmad Fatoum authored on 6 Nov 2019
Sascha Hauer committed on 6 Nov 2019
Showing 2 changed files
View
drivers/regulator/helpers.c
View
include/regulator.h