diff options
| author | Keerthy <j-keerthy@ti.com> | 2017-07-20 15:12:16 +0530 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2017-08-14 15:01:12 +0200 |
| commit | 8327e1ba12aa0e513e517fc254c053fecb0d2df5 (patch) | |
| tree | 6d4df8a2a4f3422dad8b8aca47d791f183ab544e /net/lapb/lapb_timer.c | |
| parent | 1a20c3f8e8c28357b63829ae4b16a212a4a7ef31 (diff) | |
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
