summaryrefslogtreecommitdiff
path: root/drivers/clk/visconti
diff options
context:
space:
mode:
authorRobert Hancock <robert.hancock@calian.com>2022-01-12 23:38:16 +0300
committerStephen Boyd <sboyd@kernel.org>2022-01-14 00:20:54 +0300
commit49a8f2bc8d88702783c7e163ec84374e9a022f71 (patch)
tree22d34841f83737f4f4e12a2ad8e1a30fb1846134 /drivers/clk/visconti
parent4afd2a9355a9deb16ea42b896820dacf49843a8f (diff)
downloadlinux-49a8f2bc8d88702783c7e163ec84374e9a022f71.tar.xz
clk: si5341: Fix clock HW provider cleanup
The call to of_clk_add_hw_provider was not undone on remove or on probe failure, which could cause an oops on a subsequent attempt to retrieve clocks for the removed device. Switch to the devm version of the function to avoid this issue. Fixes: 3044a860fd09 ("clk: Add Si5341/Si5340 driver") Signed-off-by: Robert Hancock <robert.hancock@calian.com> Link: https://lore.kernel.org/r/20220112203816.1784610-1-robert.hancock@calian.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/visconti')
0 files changed, 0 insertions, 0 deletions