serial: core: cleanup in uart_get_baud_rate()
Align with coding guidelines: Replaced a chain of "else if" by a switch case. Signed-off-by: NJoakim Nordell <joakim.nordell@intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录