Skip to content

Commit c726031

Browse files
andy-shevojeda
authored andcommitted
auxdisplay: lcd2s: Fix multi-line comment style
Fix multi-line comment style: - start sentences with Capital letter - use non-networking style of the first line Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 09688c0 commit c726031

1 file changed

Lines changed: 10 additions & 11 deletions

File tree

drivers/auxdisplay/lcd2s.c

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// SPDX-License-Identifier: GPL-2.0
22
/*
3-
* console driver for LCD2S 4x20 character displays connected through i2c.
4-
* The display also has a spi interface, but the driver does not support
3+
* Console driver for LCD2S 4x20 character displays connected through i2c.
4+
* The display also has a SPI interface, but the driver does not support
55
* this yet.
66
*
7-
* This is a driver allowing you to use a LCD2S 4x20 from modtronix
7+
* This is a driver allowing you to use a LCD2S 4x20 from Modtronix
88
* engineering as auxdisplay character device.
99
*
1010
* (C) 2019 by Lemonage Software GmbH
@@ -214,16 +214,15 @@ static int lcd2s_lines(struct charlcd *lcd, enum charlcd_lines lines)
214214
return 0;
215215
}
216216

217+
/*
218+
* Generator: LGcxxxxx...xx; must have <c> between '0' and '7',
219+
* representing the numerical ASCII code of the redefined character,
220+
* and <xx...xx> a sequence of 16 hex digits representing 8 bytes
221+
* for each character. Most LCDs will only use 5 lower bits of
222+
* the 7 first bytes.
223+
*/
217224
static int lcd2s_redefine_char(struct charlcd *lcd, char *esc)
218225
{
219-
/* Generator : LGcxxxxx...xx; must have <c> between '0'
220-
* and '7', representing the numerical ASCII code of the
221-
* redefined character, and <xx...xx> a sequence of 16
222-
* hex digits representing 8 bytes for each character.
223-
* Most LCDs will only use 5 lower bits of the 7 first
224-
* bytes.
225-
*/
226-
227226
struct lcd2s_data *lcd2s = lcd->drvdata;
228227
u8 buf[LCD2S_CHARACTER_SIZE + 2] = { LCD2S_CMD_DEF_CUSTOM_CHAR };
229228
u8 value;

0 commit comments

Comments
 (0)