diff options
| author | 2018-09-04 17:58:58 +0200 | |
|---|---|---|
| committer | 2018-09-10 11:15:00 +0200 | |
| commit | 08633dcb5a7cde2c7cdd4744b8c9e87e43e103f9 (patch) | |
| tree | 782852180464a1b6f7123cefbcb3bac6abe32b86 /tools/perf/scripts/python | |
| parent | staging: bcm2835-audio: Simplify kctl creation helpers (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 <tiwai@suse.de>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
