diff options
| author | 2021-06-29 00:54:18 +0900 | |
|---|---|---|
| committer | 2021-07-25 11:36:28 +0200 | |
| commit | 004653f0abf202072e1d855d3556dff60784effc (patch) | |
| tree | 4d063cfec74f1ef400b212e628d93d1003955a27 /scripts | |
| parent | can: etas_es58x: use devm_kzalloc() to allocate device resources (diff) | |
can: etas_es58x: add es58x_free_netdevs() to factorize code
Both es58x_probe() and es58x_disconnect() use a similar code snippet
to release the netdev resources. Factorize it in an helper function
named es58x_free_netdevs().
Link: https://lore.kernel.org/r/20210628155420.1176217-5-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 'scripts')
0 files changed, 0 insertions, 0 deletions
