auxdisplay: charlcd: no need to call charlcd_gotoxy() if nothing changes
authorSean Young <sean@mess.org>
Mon, 15 Jan 2018 09:43:48 +0000 (09:43 +0000)
committerMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Thu, 12 Apr 2018 17:02:42 +0000 (19:02 +0200)
commit54bc937f0cc2a7b9cb9802b9992f936259d015a1
tree2b02ebc0b6ab35448b65c12457f9be564e114e87
parent7223310f4ef3ba8a8b1b34983b565546cd5098ca
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: Sean Young <sean@mess.org>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
drivers/auxdisplay/charlcd.c