Skip to content

Commit

Permalink
Input: serio_raw - use bool for boolean data
Browse files Browse the repository at this point in the history
Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Dmitry Torokhov committed Oct 11, 2011
1 parent 843e784 commit 8c31eb0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/input/serio/serio_raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ static int serio_raw_release(struct inode *inode, struct file *file)
return 0;
}

static int serio_raw_fetch_byte(struct serio_raw *serio_raw, char *c)
static bool serio_raw_fetch_byte(struct serio_raw *serio_raw, char *c)
{
int empty;
bool empty;

serio_pause_rx(serio_raw->serio);

Expand Down Expand Up @@ -394,7 +394,7 @@ static struct serio_driver serio_raw_drv = {
.connect = serio_raw_connect,
.reconnect = serio_raw_reconnect,
.disconnect = serio_raw_disconnect,
.manual_bind = 1,
.manual_bind = true,
};

static int __init serio_raw_init(void)
Expand Down

0 comments on commit 8c31eb0

Please sign in to comment.