summaryrefslogtreecommitdiff
path: root/sound/usb
diff options
context:
space:
mode:
authorYong Zhi <yong.zhi@intel.com>2019-11-04 16:09:59 -0600
committerMark Brown <broonie@kernel.org>2019-11-05 18:52:41 +0000
commite44f3d49f900c645af434a3a1dfdbfb79c4a7851 (patch)
treebb7824d80570da5bf4c74dc92e99905376242b32 /sound/usb
parenteaf072e512d54c95b0977eda06cbca3151ace1e5 (diff)
ASoC: max98373: replace gpio_request with devm_gpio_request
Use devm_gpio_request() to automatic unroll when fails and avoid resource leaks at error paths. Signed-off-by: Yong Zhi <yong.zhi@intel.com> Link: https://lore.kernel.org/r/1572905399-22402-1-git-send-email-yong.zhi@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions