diff options
| author | Takashi Iwai <[email protected]> | 2018-09-04 17:58:58 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-09-10 11:15:00 +0200 |
| commit | 08633dcb5a7cde2c7cdd4744b8c9e87e43e103f9 (patch) | |
| tree | 782852180464a1b6f7123cefbcb3bac6abe32b86 /tools/perf/scripts/python | |
| parent | 2e42b089fad41eda44f7f0f8c5a2b807f7d4f9a0 (diff) | |
staging: bcm2835-audio: Simplify card object management
Instead of creating a dummy child device to manage the card object,
just use devm stuff directly for releasing with snd_card_free().
This results in a lot of code reduction.
Since the dummy child devices are gone, the device object to be passed
to the memory allocator needs to be adjusted as well.
Signed-off-by: Takashi Iwai <[email protected]>
Tested-by: Stefan Wahren <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions