summaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2016-06-05 18:42:27 +0800
committerMark Brown <broonie@kernel.org>2016-09-14 16:05:35 +0100
commit42531686639d6a3fe49518f2baca3f7256708242 (patch)
tree345ba0762f7dc7c20f47adc7134341b2e2d0d5f5 /sound/pci
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
spi: st-ssc4: Fix misuse of devm_gpio_request/devm_gpio_free APIs
devm_* API is supposed to be used only in probe function call. The resource is allocated at 'probe' and free automatically at 'remove'. Usage of devm_* functions outside probe sometimes leads to resource leak. Thus avoid using devm_* APIs in .setup/.cleanup callbacks. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions