summaryrefslogtreecommitdiff
path: root/sound/pci/cs46xx
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2017-07-20 15:12:16 +0530
committerLinus Walleij <linus.walleij@linaro.org>2017-08-14 15:01:12 +0200
commit8327e1ba12aa0e513e517fc254c053fecb0d2df5 (patch)
tree6d4df8a2a4f3422dad8b8aca47d791f183ab544e /sound/pci/cs46xx
parent1a20c3f8e8c28357b63829ae4b16a212a4a7ef31 (diff)
downloadlinux-rt-8327e1ba12aa0e513e517fc254c053fecb0d2df5.tar.gz
gpio: davinci: Use devm_gpiochip_add_data in place of gpiochip_add_data
Use the devm version of gpiochip_add_data and pass on the return value. This avoids memory leak due to gpiochip_add_data in case the driver is unbound. Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'sound/pci/cs46xx')
0 files changed, 0 insertions, 0 deletions