From: Christophe JAILLET Date: Fri, 6 Dec 2024 22:25:41 +0000 (+0100) Subject: auxdisplay: img-ascii-lcd: Remove an unused field in struct img_ascii_lcd_ctx X-Git-Tag: v6.14-rc1~110^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e4ee5c3c43ea25e9dae0ca548eeedcd178ff04e6;p=thirdparty%2Fkernel%2Flinux.git auxdisplay: img-ascii-lcd: Remove an unused field in struct img_ascii_lcd_ctx Remove 'cfg' from struct img_ascii_lcd_ctx. It is unused since commit 7e76aece6f03 ("auxdisplay: Extract character line display core support") Signed-off-by: Christophe JAILLET Reviewed-by: Geert Uytterhoeven Signed-off-by: Andy Shevchenko --- diff --git a/drivers/auxdisplay/img-ascii-lcd.c b/drivers/auxdisplay/img-ascii-lcd.c index a802678a6f744..693339ba89d00 100644 --- a/drivers/auxdisplay/img-ascii-lcd.c +++ b/drivers/auxdisplay/img-ascii-lcd.c @@ -36,7 +36,6 @@ struct img_ascii_lcd_config { * @base: the base address of the LCD registers * @regmap: the regmap through which LCD registers are accessed * @offset: the offset within regmap to the start of the LCD registers - * @cfg: pointer to the LCD model configuration */ struct img_ascii_lcd_ctx { struct linedisp linedisp; @@ -45,7 +44,6 @@ struct img_ascii_lcd_ctx { struct regmap *regmap; }; u32 offset; - const struct img_ascii_lcd_config *cfg; }; /*