aboutsummaryrefslogtreecommitdiff
path: root/tools/gpio
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2016-06-19 23:49:57 +0300
committerLinus Walleij <linus.walleij@linaro.org>2016-06-23 11:07:13 +0200
commitdd3b204af11b50be6dc77e18b88b3c646bba354c (patch)
treebf549e4a9d6838e991cbf09ee51be205ea7df268 /tools/gpio
parent771d899adde8e07969bd430932cca1fc3de0000e (diff)
gpio: intel-mid: switch to devm_gpiochip_add_data()
The error handling is not correct since the commit 3f7dbfd8eea9 ("gpio: intel-mid: switch to using gpiolib irqchip helpers"). Switch to devres API to fix the potential resource leak. Fixes: commit 3f7dbfd8eea9 ("gpio: intel-mid: switch to using gpiolib irqchip helpers") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/gpio')
0 files changed, 0 insertions, 0 deletions