From 377cf2cbfdb962579eedf2c29845c463c6973f7e Mon Sep 17 00:00:00 2001 From: Lars Poeschel Date: Tue, 3 Nov 2020 10:58:23 +0100 Subject: auxdisplay: hd44780: Remove clear_fast We remove the hd44780_clear_fast (display) clear implementation. With the new timeout the normal clear_display is reasonably fast. So there is no need for a clear_fast anymore. Link: https://lore.kernel.org/lkml/20200922092121.GG16421@1wt.eu/ Signed-off-by: Lars Poeschel Signed-off-by: Miguel Ojeda --- drivers/auxdisplay/charlcd.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'drivers/auxdisplay/charlcd.h') diff --git a/drivers/auxdisplay/charlcd.h b/drivers/auxdisplay/charlcd.h index 3339e8c2554e..e7e9b12b1e99 100644 --- a/drivers/auxdisplay/charlcd.h +++ b/drivers/auxdisplay/charlcd.h @@ -55,8 +55,6 @@ struct charlcd { /** * struct charlcd_ops - Functions used by charlcd. Drivers have to implement * these. - * @clear_fast: Clear the whole display and set cursor to position 0, 0. - * Optional. * @backlight: Turn backlight on or off. Optional. * @print: Print one character to the display at current cursor position. * The buffered cursor position is advanced by charlcd. The cursor should not @@ -65,8 +63,8 @@ struct charlcd { * previously set in addr.x and addr.y by charlcd. * @home: Set cursor to 0, 0. The values in addr.x and addr.y are set to 0, 0 by * charlcd prior to calling this function. - * @clear_display: Again clear the whole display, set the cursor to 0, 0. The - * values in addr.x and addr.y are set to 0, 0 by charlcd prior to calling this + * @clear_display: Clear the whole display and set the cursor to 0, 0. The + * values in addr.x and addr.y are set to 0, 0 by charlcd after to calling this * function. * @init_display: Initialize the display. * @shift_cursor: Shift cursor left or right one position. @@ -78,7 +76,6 @@ struct charlcd { * @redefine_char: Redefine the actual pixel matrix of character. */ struct charlcd_ops { - void (*clear_fast)(struct charlcd *lcd); void (*backlight)(struct charlcd *lcd, enum charlcd_onoff on); int (*print)(struct charlcd *lcd, int c); int (*gotoxy)(struct charlcd *lcd); -- cgit v1.2.3