diff options
author | yu kuai <yukuai3@huawei.com> | 2020-06-03 09:35:32 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-06-03 14:32:28 +0200 |
commit | 66339f2fba3fa05b0507e1887e4c6abcfc6228a3 (patch) | |
tree | af743ea0534290162a22fb2826ccbffe686d38ee /samples/bpf | |
parent | 9eb728321286c4b31e964d2377fca2368526d408 (diff) | |
download | linux-stable-66339f2fba3fa05b0507e1887e4c6abcfc6228a3.tar.gz linux-stable-66339f2fba3fa05b0507e1887e4c6abcfc6228a3.tar.bz2 linux-stable-66339f2fba3fa05b0507e1887e4c6abcfc6228a3.zip |
pinctrl: sirf: add missing put_device() call in sirfsoc_gpio_probe()
A coccicheck run provided information like the following:
drivers/pinctrl/sirf/pinctrl-sirf.c:798:2-8: ERROR: missing put_device;
call of_find_device_by_node on line 792, but without a corresponding
object release within this function.
Generated by: scripts/coccinelle/free/put_device.cocci
Thus add a jump target to fix the exception handling for this
function implementation.
Fixes: 5130216265f6 ("PINCTRL: SiRF: add GPIO and GPIO irq support in CSR SiRFprimaII")
Signed-off-by: yu kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20200603013532.755220-1-yukuai3@huawei.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'samples/bpf')
0 files changed, 0 insertions, 0 deletions