[PATCH] clk: rockchip: Remove useless init of "grf" to -EPROBE_DEFER
Heiko Stuebner
heiko at sntech.de
Fri Jan 6 11:32:02 PST 2017
Am Freitag, 6. Januar 2017, 08:31:01 CET schrieb Douglas Anderson:
> When we used to defer setting the "grf" member to
> rockchip_clk_get_grf() it was important to init the "grf" member to an
> error value in rockchip_clk_init(). With recent changes, we now set
> "grf" right in rockchip_clk_init() (two lines below the place where we
> initted it). That makes the old init useless. Get rid of it.
>
> Fixes: 6f339dc2719e ("clk: rockchip: lookup General Register Files in
> rockchip_clk_init") Signed-off-by: Douglas Anderson <dianders at chromium.org>
thanks for the catch, applied for 4.11
Thanks
Heiko
More information about the Linux-rockchip
mailing list