clk: rockchip: Pass NULL as reg pointer when registering GRF MMC clocks
Subsystems (2)
PATCH 1/1 clk: rockchip: Pass NULL as reg pointer when registering GRF MMC clocks
This corrects the type and suppresses sparse warnings about passing plain integers as NULL pointer.
Fixes 621ba4d9f6db ("clk: rockchip: Support MMC clocks in GRF region")
Reported-by kernel test robot <[email protected]>
Signed-off-by Yao Zi <[email protected]>
--- drivers/clk/rockchip/clk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/rockchip/clk.c +1 -1
@@ -622,7 +622,7 @@ void rockchip_clk_register_branches(struct rockchip_clk_provider *ctx, clk =rockchip_clk_register_mmc ( list->name, list->parent_names, list->num_parents, -0 , +NULL , grf, list->muxdiv_offset, list->div_shift );
Signature · 1 line
2.49.0
Quoted 4 lines · Yao Zi
This corrects the type and suppresses sparse warnings about passing plain integers as NULL pointer.
Applied, thanks!
[1/1] clk: rockchip: Pass NULL as reg pointer when registering GRF MMC clocks
commit: 61bf658a4d95e8f982b6e66dea763bff57996349
Best regards,
Signature · 1 line
Heiko Stuebner <[email protected]>