diff options
author | Ksenija Stanojevic <ksenija.stanojevic@gmail.com> | 2016-01-03 19:39:49 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-01-29 06:23:38 (GMT) |
commit | d938e1eb2fa9c23ea643e03b1834b6ad5b03805f (patch) | |
tree | 5060be7c2ea77a2eb0430decdd919d85c904c578 | |
parent | 7a725972e212c165c7991d06ede952d4c3b6387a (diff) | |
download | linux-d938e1eb2fa9c23ea643e03b1834b6ad5b03805f.tar.xz |
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: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/panel/panel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c index 04d86f3..8bc604d 100644 --- a/drivers/staging/panel/panel.c +++ b/drivers/staging/panel/panel.c @@ -2042,11 +2042,11 @@ static void init_scan_timer(void) * corresponding to out and in bits respectively. * 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, - char *imask, char *omask) +static u8 input_name2mask(const char *name, pmask_t *mask, pmask_t *value, + u8 *imask, u8 *omask) { static char sigtab[10] = "EeSsPpAaBb"; - char im, om; + u8 im, om; pmask_t m, v; om = 0ULL; |