aboutsummaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2018-01-04 10:58:48 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2018-02-02 16:50:21 -0800
commitb28bad65c1fec47076ebee88b51b0dafa31f5065 (patch)
treeac386beb534ad96de356ad25c16a0c201d67e977 /virt
parentInput: libps2 - fix switch statement formatting (diff)
downloadlinux-dev-b28bad65c1fec47076ebee88b51b0dafa31f5065.tar.xz
linux-dev-b28bad65c1fec47076ebee88b51b0dafa31f5065.zip
Input: libps2 - use u8 for byte data
Instead of using unsigned char for the byte data switch to using u8. Also use unsigned int for the command codes and timeouts, and have ps2_handle_ack() and ps2_handle_response() return bool instead of int, as they do not return error codes but rather signal whether a byte was handled or not handled. ps2_is_keyboard_id() now returns bool as well. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions