diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2016-06-19 23:49:57 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-20 18:10:49 +0200 |
commit | 992cd8a125464e6150bc33b80b1cd5ef662e2470 (patch) | |
tree | ef1d59d1f6bc27fd2fbdd0b1c2541c9945408151 /drivers/rtc/rtc-max77686.c | |
parent | 039a2b49648d745caa221389f652dd18a7d244be (diff) | |
download | linux-stable-992cd8a125464e6150bc33b80b1cd5ef662e2470.tar.gz linux-stable-992cd8a125464e6150bc33b80b1cd5ef662e2470.tar.bz2 linux-stable-992cd8a125464e6150bc33b80b1cd5ef662e2470.zip |
gpio: intel-mid: switch to devm_gpiochip_add_data()
commit dd3b204af11b50be6dc77e18b88b3c646bba354c upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/rtc/rtc-max77686.c')
0 files changed, 0 insertions, 0 deletions