summaryrefslogtreecommitdiffstats
path: root/drivers/uio/uio_pci_generic.c
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2020-11-19 15:50:59 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-09 19:57:03 +0100
commit68d621197162eb503d32676452e7281e3fb6c8cc (patch)
tree8752459dac16a361db101734470f0a903a246c4b /drivers/uio/uio_pci_generic.c
parentslimbus: qcom-ngd-ctrl: fix SSR dependencies (diff)
downloadlinux-68d621197162eb503d32676452e7281e3fb6c8cc.tar.xz
linux-68d621197162eb503d32676452e7281e3fb6c8cc.zip
uio: pruss: use devm_clk_get() for clk init
This change uses devm_clk_get() to obtain a reference to the clock. It has the benefit that clk_put() is no longer required, and cleans up the exit & error path. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Link: https://lore.kernel.org/r/20201119145059.48326-1-alexandru.ardelean@analog.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uio/uio_pci_generic.c')
0 files changed, 0 insertions, 0 deletions