diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-07-18 16:12:55 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-07-20 10:00:39 +0200 |
commit | 6eca69147542686a412b2657c0fd74bc4a38cc44 (patch) | |
tree | db8bfc65098886858dfb035a49a1a34b5e225077 /drivers/watchdog/pretimeout_panic.c | |
parent | d4e99962d16ce60ac9ecf995489dc60d7854f1bd (diff) |
staging: greybus: audio_helper: Use snd_ctl_remove_id()
Use the standard snd_ctl_remove_id() helper function instead of open
code. This allows us to reduce the manual card->rwsem lock in the
caller side.
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Johan Hovold <johan@kernel.org>
Cc: Alex Elder <elder@kernel.org>
Cc: greybus-dev@lists.linaro.org
Link: https://lore.kernel.org/r/20230718141304.1032-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/watchdog/pretimeout_panic.c')
0 files changed, 0 insertions, 0 deletions