gpio: bd7xxxx: Do not depend on parent driver data
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Tue, 5 Jan 2021 12:53:35 +0000 (14:53 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 15 Feb 2021 10:43:26 +0000 (11:43 +0100)
commit82bf0afd57deac5ba7b5642e10d7759222d15347
treef4dd0ef379b128ab5b5b4d38094de82097a43dec
parent032653ef1b9dee6176a82b890395a1a1c7ca2c56
gpio: bd7xxxx: Do not depend on parent driver data

The ROHM BD70528 and BD71828 GPIO drivers only need the regmap
pointer from parent. 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>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-bd70528.c
drivers/gpio/gpio-bd71828.c