]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
auxdisplay: img-ascii-lcd: Remove an unused field in struct img_ascii_lcd_ctx
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 6 Dec 2024 22:25:41 +0000 (23:25 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 10 Dec 2024 20:26:33 +0000 (22:26 +0200)
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 <christophe.jaillet@wanadoo.fr>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/auxdisplay/img-ascii-lcd.c

index a802678a6f7448f9224e83ff129057effca594b2..693339ba89d0045cabfee93dc35d93454a6ee21e 100644 (file)
@@ -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;
 };
 
 /*