]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
clk: vexpress-osc: Use the devres clock API variants
authorRob Herring <robh@kernel.org>
Wed, 29 Apr 2020 20:58:15 +0000 (15:58 -0500)
committerRob Herring <robh@kernel.org>
Tue, 5 May 2020 16:43:57 +0000 (11:43 -0500)
commit03cc105f2edfe2b95ffce56422c38862a23dbbd1
tree85cee47fd18e14370dbaa4b3e8ef92aa2aa1778c
parent562bbb233513560e2a4b253382321b175420b024
clk: vexpress-osc: Use the devres clock API variants

In preparation to enable the vexpress-osc clock driver as a module,
convert the driver to use the managed devres clock API variants. With
this, a driver .remove() hook is not needed.

Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-clk@vger.kernel.org
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/clk/versatile/clk-vexpress-osc.c