summaryrefslogtreecommitdiffstats
path: root/sound/parisc
diff options
context:
space:
mode:
authorAndy Shevchenko2017-11-10 14:40:29 +0100
committerLinus Walleij2017-11-30 10:53:50 +0100
commit08be1a795de3bf9dab31affed5e495ff91a1744d (patch)
tree935d1e919f6f48df055b53e96b240802d980eaa2 /sound/parisc
parentgpiolib: acpi: Assign polarity when call acpi_populate_gpio_lookup() (diff)
downloadkernel-qcow2-linux-08be1a795de3bf9dab31affed5e495ff91a1744d.tar.gz
kernel-qcow2-linux-08be1a795de3bf9dab31affed5e495ff91a1744d.tar.xz
kernel-qcow2-linux-08be1a795de3bf9dab31affed5e495ff91a1744d.zip
gpiolib: acpi: Don't contaminate return parameter in case of error
If error occurs, leave lookup parameter untouched. There is no functional change, since all current callers just bail out in case of error without using the assigned pieces. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'sound/parisc')
0 files changed, 0 insertions, 0 deletions