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: ba44dc04 ("serial: Add Milbeaut serial control") Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com> Tested-by: NSugaya Taichi <sugaya.taichi@socionext.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录