serial: sc16is7xx: Use devm_clk_get_optional()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 17 May 2021 17:34:15 +0000 (20:34 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 May 2021 14:30:40 +0000 (16:30 +0200)
commitcb1b206cff461d02ce373f54f1d215532cc5ac7c
tree9beb44ef719188c84ea0f44bff36714109c2b5ae
parentd4d6f03c4fb3a91dadfe147b47edd40e4d7e4d36
serial: sc16is7xx: Use devm_clk_get_optional()

Replace open coded variants of devm_clk_get_optional().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210517173415.7483-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sc16is7xx.c