regulator: ROHM bd7xxxx: Do not depend on parent driver data
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Tue, 5 Jan 2021 13:02:21 +0000 (15:02 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 5 Jan 2021 14:35:27 +0000 (14:35 +0000)
commit3c14dbd4b8eea2da607b65fc9caf7aec91d6ccbf
tree547ca489532542b21f93b5a461dd4ba213e4e68c
parentc42088491c12f888e9e31ad37c019cb7c310065c
regulator: ROHM bd7xxxx: Do not depend on parent driver data

The ROHM PMIC regulator drivers only need the regmap pointer from
the parent device. Regmap can be obtained via dev_get_regmap()
so do not require parent to populate driver data for that.

Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Link: https://lore.kernel.org/r/20210105130221.GA3438042@localhost.localdomain
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/bd70528-regulator.c
drivers/regulator/bd71828-regulator.c