Skip to content
Snippets Groups Projects
Commit a348d569 authored by Jeroen Hofstee's avatar Jeroen Hofstee Committed by Tom Rini
Browse files

pmic: tps65090: correct checking i2c bus


The function tps65090_init checks the i2c bus of p->bus. However
the pointer p is not intialiased at this point. Check the local
variable bus instead.

cc: Tom Wai-Hong Tam <waihong@chromium.org>
Signed-off-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 1f9ce306
No related branches found
No related tags found
No related merge requests found
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