diff options
author | 2017-07-20 15:12:16 +0530 | |
---|---|---|
committer | 2017-08-14 15:01:12 +0200 | |
commit | 8327e1ba12aa0e513e517fc254c053fecb0d2df5 (patch) | |
tree | 6d4df8a2a4f3422dad8b8aca47d791f183ab544e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | gpio: altera-a10sr: constify gpio_chip structure (diff) | |
download | linux-dev-8327e1ba12aa0e513e517fc254c053fecb0d2df5.tar.xz linux-dev-8327e1ba12aa0e513e517fc254c053fecb0d2df5.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions