diff options
author | 2023-09-19 22:55:13 +0300 | |
---|---|---|
committer | 2023-10-03 14:35:38 +0200 | |
commit | 70a0d499db058b517bf60ec2e954a9a6bb688daa (patch) | |
tree | e4ddd7caf4c741707a366ddecac3255c4d017745 /include/linux/serial_core.h | |
parent | serial: 8250_of: Use devm_clk_get_enabled() (diff) | |
download | wireguard-linux-70a0d499db058b517bf60ec2e954a9a6bb688daa.tar.xz wireguard-linux-70a0d499db058b517bf60ec2e954a9a6bb688daa.zip |
serial: 8250_dw: Use devm_clk_get_optional_enabled()
Use devm_clk_get_optional_enabled() to simplify the code.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20230919195513.3197930-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/serial_core.h')
0 files changed, 0 insertions, 0 deletions