tty: serial: uartlite: use clk_disable_unprepare to match clk_prepare_enable
authorChuhong Yuan <hslester96@gmail.com>
Fri, 1 Nov 2019 08:54:33 +0000 (16:54 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Nov 2019 16:45:32 +0000 (17:45 +0100)
commit6a7ce07d6cb7345619c89c6aeab9c14ce9d7f354
treee7b0ca1e1a915f7f28fa0858da3d8d374995c78c
parenteb9c1a41ea1234907615fe47d6e47db8352d744b
tty: serial: uartlite: use clk_disable_unprepare to match clk_prepare_enable

The driver uses clk_prepare_enable in ulite_probe but uses clk_unprepare
in ulite_remove, which does not match.
Replace clk_unprepare with clk_disable_unprepare to fix it.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Link: https://lore.kernel.org/r/20191101085433.10399-1-hslester96@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/uartlite.c