diff options
author | Enric Balletbo i Serra <[email protected]> | 2019-09-02 11:53:06 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2019-09-02 11:34:07 +0100 |
commit | 5156fb75ead1dad9cdd250db898011e92c6ecb22 (patch) | |
tree | 438f552db4c07eb0a855577c6178edd6acfebbcc /lib/debugobjects.c | |
parent | 840d9f131f65b021e0a73f3371f3194897dba6ad (diff) |
mfd: cros_ec: Use kzalloc and cros_ec_cmd_xfer_status helper
This patch makes use of cros_ec_cmd_xfer_status() instead of
cros_ec_cmd_xfer() so we can remove some redundant code. It also uses
kzalloc instead of kmalloc so we can remove more redundant code.
Signed-off-by: Enric Balletbo i Serra <[email protected]>
Acked-by: Andy Shevchenko <[email protected]>
Reviewed-by: Gwendal Grignou <[email protected]>
Tested-by: Gwendal Grignou <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions