Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'auxdisplay-v6.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/andy/linux-auxdisplay

Pull auxdisplay updates from Andy Shevchenko:

- A couple of cleanups to img-ascii-lcd driver

* tag 'auxdisplay-v6.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/andy/linux-auxdisplay:
auxdisplay: img-ascii-lcd: Constify struct img_ascii_lcd_config
auxdisplay: img-ascii-lcd: Remove an unused field in struct img_ascii_lcd_ctx

+3 -5
+3 -5
drivers/auxdisplay/img-ascii-lcd.c
··· 36 36 * @base: the base address of the LCD registers 37 37 * @regmap: the regmap through which LCD registers are accessed 38 38 * @offset: the offset within regmap to the start of the LCD registers 39 - * @cfg: pointer to the LCD model configuration 40 39 */ 41 40 struct img_ascii_lcd_ctx { 42 41 struct linedisp linedisp; ··· 44 45 struct regmap *regmap; 45 46 }; 46 47 u32 offset; 47 - const struct img_ascii_lcd_config *cfg; 48 48 }; 49 49 50 50 /* ··· 69 71 #endif 70 72 } 71 73 72 - static struct img_ascii_lcd_config boston_config = { 74 + static const struct img_ascii_lcd_config boston_config = { 73 75 .num_chars = 8, 74 76 .ops = { 75 77 .update = boston_update, ··· 98 100 pr_err_ratelimited("Failed to update LCD display: %d\n", err); 99 101 } 100 102 101 - static struct img_ascii_lcd_config malta_config = { 103 + static const struct img_ascii_lcd_config malta_config = { 102 104 .num_chars = 8, 103 105 .external_regmap = true, 104 106 .ops = { ··· 200 202 pr_err_ratelimited("Failed to update LCD display: %d\n", err); 201 203 } 202 204 203 - static struct img_ascii_lcd_config sead3_config = { 205 + static const struct img_ascii_lcd_config sead3_config = { 204 206 .num_chars = 16, 205 207 .external_regmap = true, 206 208 .ops = {