Input: cros_ec_keyb - use cros_ec_cmd_xfer_status helper
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Sat, 18 Apr 2020 20:50:08 +0000 (13:50 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 19 Apr 2020 04:31:19 +0000 (21:31 -0700)
commit0bcee1191f3c3d6b8b2d422efce91a86e49db7ca
tree88f1d86907cb141d0d3175af5e730d22ad0ca43b
parent3f8f770575d911c989043d8f0fb8dec96360c41c
Input: cros_ec_keyb - use cros_ec_cmd_xfer_status helper

This patch makes use of cros_ec_cmd_xfer_status() instead of
cros_ec_cmd_xfer(). In this case there is no advantage of doing this
apart from that we want to make cros_ec_cmd_xfer() a private function
for the EC protocol and let people only use the
cros_ec_cmd_xfer_status() to return Linux standard error codes.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20200414210434.1534982-1-enric.balletbo@collabora.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/cros_ec_keyb.c