]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: clocking-wizard: simplify probe/remove with devres helpers
authorHarry Austen <hpausten@protonmail.com>
Fri, 13 Sep 2024 19:11:14 +0000 (19:11 +0000)
committerStephen Boyd <sboyd@kernel.org>
Wed, 9 Oct 2024 23:38:24 +0000 (16:38 -0700)
commit9c9cd4de25edc60a3a90031e69567bb92921bd27
tree0b33a087c2118fdbf1ae3ceddc91a931ee7aad8d
parent9852d85ec9d492ebef56dc5f229416c925758edc
clk: clocking-wizard: simplify probe/remove with devres helpers

Remove need to do various operations in remove callback and error paths
by utilising device managed versions of clock and notifier APIs.

Signed-off-by: Harry Austen <hpausten@protonmail.com>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20240913191037.2690-2-hpausten@protonmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/xilinx/clk-xlnx-clock-wizard.c