commit | beee39099b9041c8bcb50e771d0cc6aea4e79e45 | [log] [tgz] |
---|---|---|
author | Timur Tabi <timur@codeaurora.org> | Tue Nov 10 09:57:10 2015 -0600 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Dec 01 09:59:02 2015 +0100 |
tree | b461e9a3029a7667c979c72936ea9211a3e276fe | |
parent | 57b588c950b7e04e0f22393ad439299ba4fda9c3 [diff] |
pinctrl: qcom: qdf2xxx: improve error checking and reporting The driver doesn't report an error message if the ACPI tables are missing the num-gpios property (which indicates how many GPIOs there are on this SOC), and it didn't check to ensure that the mallocs didn't fail. Signed-off-by: Timur Tabi <timur@codeaurora.org> Reviewed-by: Björn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>