commit | 550b42dd0f85ced552c191036ccf072ba0b61cb9 | [log] [tgz] |
---|---|---|
author | Jeroen Hofstee <jeroen@myspectrum.nl> | Sun Jun 15 17:17:04 2014 +0200 |
committer | Tom Rini <trini@ti.com> | Thu Jun 19 11:19:05 2014 -0400 |
tree | 857a4bba33a2a3f81efa5b2a2183f31932e8021c | |
parent | ea07042e881ae9bc3e08a866f5c8f784ae8ce74c [diff] |
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: Jeroen Hofstee <jeroen@myspectrum.nl> Acked-by: Simon Glass <sjg@chromium.org>