commit | 0c67d129b836fd664eba3a554558cae81583a3fd | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sun Dec 27 21:18:26 2020 +0100 |
committer | Tom Rini <trini@konsulko.com> | Mon Jan 18 15:23:06 2021 -0500 |
tree | 718194067045c1846a16935172b7f818e76a87cd | |
parent | 3c68068e839eb002200f2a7e4072f0be062c64cb [diff] |
pinctrl: mediatek: correct error handling If no GPIO controller is found, the return value should not depend on a random value on the stack. Initialize variable ret. The problem was indicated by cppcheck. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>