regulator: provide rdev_get_regmap()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 9 Jan 2019 17:44:00 +0000 (18:44 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 9 Jan 2019 18:36:44 +0000 (18:36 +0000)
commit03c87b95ac04c2a34045641b25dded6e3e889556
tree14138f442dd105fb14b0cbf6eb812e0540f25d91
parent6f3656f3552a3b32c625c93ddafcbe10bf0fea6d
regulator: provide rdev_get_regmap()

Provide a helper allowing to access regulator's regmap.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c
include/linux/regulator/driver.h