commit | 74cdf8cec7dd4c9c06533555a49b4afb429cb5be | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Thu Apr 25 15:10:44 2019 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Apr 29 16:20:24 2019 +0200 |
tree | f37fedd203f93102e6ca4b33dc6707f75b7b07ae | |
parent | 8ef795653d753e3d6ae67e6f4a0168ff3c059deb [diff] |
serial: milbeaut_usio: Fix error handling in probe and remove devm_clk_get() is used so there is no reason to explicitly call clk_put() in probe or remove functions. Also remove duplicate assign for port->membase. Fixes: ba44dc043004 ("serial: Add Milbeaut serial control") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Tested-by: Sugaya Taichi <sugaya.taichi@socionext.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>