auxdisplay: charlcd: no need to call charlcd_gotoxy() if nothing changes
If the line extends beyond the width to the screen, nothing changes. The existing code will call charlcd_gotoxy every time for this case. Signed-off-by: NSean Young <sean@mess.org> Reviewed-by: NGeert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: NMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Showing
想要评论请 注册 或 登录