mfd: stpmic1: use dev_get_regmap instead of priv member
When we call regmap_init, the regmap is associated with the device supplied and can be queried with dev_get_regmap. This is more natural than expecting cell drivers to cast dev->parent->priv. Do it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
---|
|
drivers/mfd/stpmic1.c |
---|
drivers/watchdog/stpmic1_wdt.c |
---|