diff options
| author | Enric Balletbo i Serra <[email protected]> | 2019-09-02 09:53:06 +0000 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2019-09-02 10:34:07 +0000 |
| commit | 5156fb75ead1dad9cdd250db898011e92c6ecb22 (patch) | |
| tree | 438f552db4c07eb0a855577c6178edd6acfebbcc /drivers/gpu/drm/lima/lima_gem.c | |
| parent | mfd / platform: cros_ec: Reorganize platform and mfd includes (diff) | |
| download | kernel-5156fb75ead1dad9cdd250db898011e92c6ecb22.tar.gz kernel-5156fb75ead1dad9cdd250db898011e92c6ecb22.zip | |
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 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions
