aboutsummaryrefslogtreecommitdiff
path: root/drivers/timer
diff options
context:
space:
mode:
authorHeinrich Schuchardt2020-12-27 21:18:26 +0100
committerTom Rini2021-01-18 15:23:06 -0500
commit97bf73762fed743291bb7e572aa659374990b93d (patch)
tree718194067045c1846a16935172b7f818e76a87cd /drivers/timer
parentc65b7d1acfffda1a73bcea2cd0d2bc43ce54540f (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