]> www.infradead.org Git - users/jedix/linux-maple.git/commit
reset: amlogic: aux: get regmap through parent device
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 9 Dec 2024 16:04:34 +0000 (17:04 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 15 Jan 2025 16:59:31 +0000 (17:59 +0100)
commitccfba09ceecc3ac1f264e680120cef01aed6e75e
treefca4b032d66c3ae3777a3708bff062ec09a202a4
parent64de6a3fed96bad801e8ecd70140a4fc1304bdde
reset: amlogic: aux: get regmap through parent device

Get regmap directly from the parent device registering the
auxiliary reset driver, instead of using device data attached
to the auxiliary device.

This simplifies the registration a bit.

Suggested-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20241209-meson-rst-aux-rework-v1-1-d2afb69cc72e@baylibre.com
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/amlogic/reset-meson-aux.c