Commit eb9c08b3 authored by Vojtech Pavlik's avatar Vojtech Pavlik

Cleanups by Russell King <rmk@arm.linux.org.uk>,

char signedness and removal of extra \n.
parent a321a55f
...@@ -125,10 +125,9 @@ struct atkbd { ...@@ -125,10 +125,9 @@ struct atkbd {
unsigned char cmdbuf[4]; unsigned char cmdbuf[4];
unsigned char cmdcnt; unsigned char cmdcnt;
unsigned char set; unsigned char set;
char release; unsigned char release;
char ack; signed char ack;
char emul; unsigned char emul;
char error;
unsigned short id; unsigned short id;
}; };
...@@ -504,7 +503,7 @@ static void atkbd_connect(struct serio *serio, struct serio_dev *dev) ...@@ -504,7 +503,7 @@ static void atkbd_connect(struct serio *serio, struct serio_dev *dev)
if (atkbd->set == 4) { if (atkbd->set == 4) {
atkbd->dev.ledbit[0] |= BIT(LED_COMPOSE) | BIT(LED_SUSPEND) | BIT(LED_SLEEP) | BIT(LED_MUTE); atkbd->dev.ledbit[0] |= BIT(LED_COMPOSE) | BIT(LED_SUSPEND) | BIT(LED_SLEEP) | BIT(LED_MUTE);
sprintf(atkbd->name, "AT Set 2 Extended keyboard\n"); sprintf(atkbd->name, "AT Set 2 Extended keyboard");
} else } else
sprintf(atkbd->name, "AT Set %d keyboard", atkbd->set); sprintf(atkbd->name, "AT Set %d keyboard", atkbd->set);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment