diff options
| author | Vincent Mailhol <mailhol.vincent@wanadoo.fr> | 2021-06-29 00:54:17 +0900 |
|---|---|---|
| committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2021-07-25 11:36:28 +0200 |
| commit | 6bde4c7fd8455101dbba6838a6d11bc4451b9a0d (patch) | |
| tree | 772ae368a05968f0a81a5a36750acde9fcbebcbd /tools/perf/scripts/python | |
| parent | 45cb13963df304fde13262654939dfb18788f95e (diff) | |
can: etas_es58x: use devm_kzalloc() to allocate device resources
Replace kzalloc() with devm_kzalloc(). By doing this, we do not need
to care anymore about having to call kfree(). This result in a
simpler and more easy to read code.
Link: https://lore.kernel.org/r/20210628155420.1176217-4-mailhol.vincent@wanadoo.fr
Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
