Skip to content
Snippets Groups Projects
Commit f3a049e7 authored by Zhouyang Jia's avatar Zhouyang Jia Committed by Linus Walleij
Browse files

gpio: max732x: add error handling for i2c_new_dummy


When i2c_new_dummy fails, the lack of error-handling code may
cause unexpected results.

This patch adds error-handling code after calling i2c_new_dummy.

Signed-off-by: default avatarZhouyang Jia <jiazhouyang09@gmail.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent eb3744a2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment