diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-05-25 08:57:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-01 00:55:12 +0300 |
commit | 3a63d22425ff229c8fb51e7aec1de1e9a4e19b34 (patch) | |
tree | e606630415ed38792be12f23b078bbc0e61626cc /drivers/tty/serial/sa1100.c | |
parent | 6e63be3fee141cc6d122f648b524a66160dbe6aa (diff) | |
download | linux-3a63d22425ff229c8fb51e7aec1de1e9a4e19b34.tar.xz |
serial: of_serial: use devm_clk_get() instead of clk_get()
The probe method of this driver calls clk_get(), but clk_put() is
missing from the remove callback.
Using the managed clk function is easier than fixing other parts.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sa1100.c')
0 files changed, 0 insertions, 0 deletions