serial: 8250_of: Use devm_clk_get_enabled()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 19 Sep 2023 19:55:19 +0000 (22:55 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Oct 2023 12:35:35 +0000 (14:35 +0200)
commitaef6b8631f9ddf22e9f331608ecc1573943c3c81
tree3b2cf6a24b4e172ba92b2dde9e87d2376074e995
parent182fb83d596b69779a76b5f206f0b506aa889328
serial: 8250_of: Use devm_clk_get_enabled()

Use devm_clk_get_enabled() to simplify the code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://lore.kernel.org/r/20230919195519.3197963-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_of.c