PM / devfreq: rockchip-dfi: Make pmu regmap mandatory
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 4 Jul 2023 09:32:17 +0000 (11:32 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Sun, 8 Oct 2023 22:28:50 +0000 (07:28 +0900)
commit1e0731c05c985deb68a97fa44c1adcd3305dda90
tree9ec215bbb92e14f0b84385d224122903d28b0fa1
parent8b3bd6ffbc6475a7dc92c6d6021d49b555301c01
PM / devfreq: rockchip-dfi: Make pmu regmap mandatory

As a matter of fact the regmap_pmu already is mandatory because
it is used unconditionally in the driver. Bail out gracefully in
probe() rather than crashing later.

Link: https://lore.kernel.org/lkml/20230704093242.583575-2-s.hauer@pengutronix.de/
Fixes: b9d1262bca0af ("PM / devfreq: event: support rockchip dfi controller")
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/event/rockchip-dfi.c