commit | 5a195c6d4ecf43be26ee1c8be6140025832adfd2 | [log] [tgz] |
---|---|---|
author | Thor Thayer <tthayer@opensource.altera.com> | Tue Oct 25 11:31:23 2016 -0500 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Oct 25 20:23:19 2016 +0200 |
tree | 361a8a073c8d3143c3c291053c045b4b80b4fea4 | |
parent | f85522c207ce395fc9c1f6b80a47f211d00914b0 [diff] |
gpio: gpiolib-devprop: Check chip->parent pointer before dereferencing Confirm the chip->parent is valid before dereferencing because the parent parameter is optional. Signed-off-by: Thor Thayer <tthayer@opensource.altera.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>