tty/serial: clean up uart_match_port
* make parameters const (as they are only read) * return bool (as comparison results are returned) * add \n before final return Signed-off-by: NJiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20210519072153.3859-1-jslaby@suse.czSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录