diff options
Diffstat (limited to 'chip/stm32/keyboard_scan.c')
-rw-r--r-- | chip/stm32/keyboard_scan.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chip/stm32/keyboard_scan.c b/chip/stm32/keyboard_scan.c index d25e9441fc..2df36fa9eb 100644 --- a/chip/stm32/keyboard_scan.c +++ b/chip/stm32/keyboard_scan.c @@ -440,8 +440,7 @@ DECLARE_HOST_COMMAND(EC_CMD_MKBP_STATE, static int keyboard_get_info(struct host_cmd_handler_args *args) { - struct ec_response_mkbp_info *r = - (struct ec_response_mkbp_info *)args->response; + struct ec_response_mkbp_info *r = args->response; r->rows = 8; r->cols = KB_OUTPUTS; |