auxdisplay for v6.14-1
* A couple of cleanups to img-ascii-lcd driver The following is an automated git shortlog grouped by driver: img-ascii-lcd: - Constify struct img_ascii_lcd_config - Remove an unused field in struct img_ascii_lcd_ctx -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqaflIX74DDDzMJJtb7wzTHR8rCgFAmeSUpMACgkQb7wzTHR8 rChpvw/9FgTm6s8V5WmyNDKMm1E08mnsj7oRiiG9fprt+9iYoW3ejTK8taIF9IWX mvZANPnd9NCW11dv/DVkHtyJkcXj7EAo++VaDE5JagZIbC4LEp712lISaM+UiHOJ uQXEci48/cyR5BW5bbdVR6RAG0pI119y4U3kUJgHr/B9jIv9EMeI5y7NPQ62qWsT hhDBe9buMX0QD4jLUJiyjRto54jCMEZ7f/kto1db8OlWoAQGbK23R55mwLeo3bTa 3JrGPlNzMT1KJo/pburPuAB7j8XkSmfu0F60h780TgvyDYRsZJZ+Y/UsDYkCs0xk qsxMVwBAVyIEZjVtbRp6lcdwhashqUsBpq4t2Fp1tjWULC8+5gsfE3mCRHvRPDMT cFURSGQQwSIaQIODwROZj+RhhvwvZ6Iswuh9OvDyquBHvSe88fKcPTByrSofXNCz 0pYiEmPCMPaOZUqQCg8MJRUP5JQTHNLjjt/eVHBv7VZtxYI8wVtUviZrtUNrMq7w UaSqlyXs9Ri7cgTxTNM1eOSMSYRbQp/J6HcwkBoQdxJBL+kmvwUPAAxuPTpCEiGi uUYj90fENHTO7+Z67p/+jMK3r2W1eIjtbyu5IE878ukgU/nlM2LVvmlbNsVFNedS o+BwqTjv979tC1W5m67cXZG2jxCpaYNzFjNNGjKHG5YSkz8/iBc= =CZTc -----END PGP SIGNATURE----- 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
This commit is contained in:
commit
ab18b8fff1
1 changed files with 3 additions and 5 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -71,7 +69,7 @@ static void boston_update(struct linedisp *linedisp)
|
|||
#endif
|
||||
}
|
||||
|
||||
static struct img_ascii_lcd_config boston_config = {
|
||||
static const struct img_ascii_lcd_config boston_config = {
|
||||
.num_chars = 8,
|
||||
.ops = {
|
||||
.update = boston_update,
|
||||
|
@ -100,7 +98,7 @@ static void malta_update(struct linedisp *linedisp)
|
|||
pr_err_ratelimited("Failed to update LCD display: %d\n", err);
|
||||
}
|
||||
|
||||
static struct img_ascii_lcd_config malta_config = {
|
||||
static const struct img_ascii_lcd_config malta_config = {
|
||||
.num_chars = 8,
|
||||
.external_regmap = true,
|
||||
.ops = {
|
||||
|
@ -202,7 +200,7 @@ static void sead3_update(struct linedisp *linedisp)
|
|||
pr_err_ratelimited("Failed to update LCD display: %d\n", err);
|
||||
}
|
||||
|
||||
static struct img_ascii_lcd_config sead3_config = {
|
||||
static const struct img_ascii_lcd_config sead3_config = {
|
||||
.num_chars = 16,
|
||||
.external_regmap = true,
|
||||
.ops = {
|
||||
|
|
Loading…
Add table
Reference in a new issue