diff options
author | Heinrich Schuchardt | 2020-12-27 21:18:26 +0100 |
---|---|---|
committer | Tom Rini | 2021-01-18 15:23:06 -0500 |
commit | 97bf73762fed743291bb7e572aa659374990b93d (patch) | |
tree | 718194067045c1846a16935172b7f818e76a87cd /drivers/timer | |
parent | c65b7d1acfffda1a73bcea2cd0d2bc43ce54540f (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>
Acked-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Diffstat (limited to 'drivers/timer')
0 files changed, 0 insertions, 0 deletions