auxdisplay: Change gotoxy calling interface
authorLars Poeschel <poeschel@lemonage.de>
Tue, 3 Nov 2020 09:58:25 +0000 (10:58 +0100)
committerMiguel Ojeda <ojeda@kernel.org>
Wed, 4 Nov 2020 10:04:04 +0000 (11:04 +0100)
commit40c2b72e4b11f0a80dff19b539fccf36472dc417
tree50951cf08d1a3acf911a47e387aab795d406095d
parent6e49eea35886c7f7173796d6a646c8c2c0f6149d
auxdisplay: Change gotoxy calling interface

Change the calling interface for gotoxy from supplying the x and y
coordinates in the charlcd struct to explicitly supplying x and y in
the function arguments. This is more intuitive and allows for moving
the cursor to positions independent from the position saved in the
charlcd struct.

Reviewed-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
drivers/auxdisplay/charlcd.c
drivers/auxdisplay/charlcd.h
drivers/auxdisplay/hd44780_common.c
drivers/auxdisplay/hd44780_common.h