diff options
| author | Tzung-Bi Shih <tzungbi@kernel.org> | 2022-06-09 11:49:42 +0300 |
|---|---|---|
| committer | Tzung-Bi Shih <tzungbi@kernel.org> | 2022-06-10 05:31:43 +0300 |
| commit | 93bea2faed630bd014916fd2e7ab16a79ee1b46a (patch) | |
| tree | d29090ba49bc20fe969458ca882eb18e4f7e45d7 /net/lapb/lapb_timer.c | |
| parent | 8e3991610ba5c11003d8c228b280cc007c2a6177 (diff) | |
| download | linux-93bea2faed630bd014916fd2e7ab16a79ee1b46a.tar.xz | |
platform/chrome: cros_ec_proto: use cros_ec_map_error()
Use cros_ec_map_error() in cros_ec_get_host_event_wake_mask().
The behavior of cros_ec_get_host_event_wake_mask() slightly changed. It
is acceptable because the caller only needs it returns negative integers
for indicating errors. Especially, the EC_RES_INVALID_COMMAND still
maps to -EOPNOTSUPP.
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://lore.kernel.org/r/20220609084957.3684698-7-tzungbi@kernel.org
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
