]> Gentwo Git Trees - linux/.git/commit
clk: imx95-blk-ctl: Save platform data in imx95_blk_ctl structure
authorLaurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Mon, 4 Aug 2025 13:14:49 +0000 (16:14 +0300)
committerAbel Vesa <abel.vesa@linaro.org>
Fri, 12 Sep 2025 14:28:28 +0000 (17:28 +0300)
commitaa1735d72bc085c4d107fb2017c597f83bb9490c
treed5ce45ec23fdfe2e47ca8cb36b62845d4337b30d
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585
clk: imx95-blk-ctl: Save platform data in imx95_blk_ctl structure

Add a platform data (pdata) member to struct imx95_blk_ctl to store the
result of of_device_get_match_data() during probe to avoid redundant
calls in suspend and resume functions.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20250804131450.3918846-2-laurentiu.palcu@oss.nxp.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
drivers/clk/imx/clk-imx95-blk-ctl.c