Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d938e1eb authored by Ksenija Stanojevic's avatar Ksenija Stanojevic Committed by Greg Kroah-Hartman
Browse files

Staging: panel: Use u8 type



Declare om, im, omask and imask as u8 to remove any confusion if
that describes the 8 bits of the data bus on the parallel port.
Also change return type of lcd_write_data() to u8.

Signed-off-by: default avatarKsenija Stanojevic <ksenija.stanojevic@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7a725972
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -2042,11 +2042,11 @@ static void init_scan_timer(void)
 * corresponding to out and in bits respectively.
 * corresponding to out and in bits respectively.
 * returns 1 if ok, 0 if error (in which case, nothing is written).
 * returns 1 if ok, 0 if error (in which case, nothing is written).
 */
 */
static int input_name2mask(const char *name, pmask_t *mask, pmask_t *value,
static u8 input_name2mask(const char *name, pmask_t *mask, pmask_t *value,
			   char *imask, char *omask)
			  u8 *imask, u8 *omask)
{
{
	static char sigtab[10] = "EeSsPpAaBb";
	static char sigtab[10] = "EeSsPpAaBb";
	char im, om;
	u8 im, om;
	pmask_t m, v;
	pmask_t m, v;


	om = 0ULL;
	om = 0ULL;