diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-06-18 22:13:52 +0200 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2014-06-23 10:04:13 +0900 |
commit | 00d4796c555b95e986b4a01a9322d49f64c1349f (patch) | |
tree | d867afd85c7e3da13d89a2453518c43a2ec742ff /board/stx/stxssa | |
parent | 0cf7e18904f245d0ba7a5ed85ed48bea386258d4 (diff) | |
download | u-boot-imx-00d4796c555b95e986b4a01a9322d49f64c1349f.zip u-boot-imx-00d4796c555b95e986b4a01a9322d49f64c1349f.tar.gz u-boot-imx-00d4796c555b95e986b4a01a9322d49f64c1349f.tar.bz2 |
PMIC: MAX77686: fix invalid bus check
Since p->bus is unsigned checking for negative values
is optimized away. Since bus is already used as an argument
use tmp. While at it, don't declare variables in the middle
of a function.
cc: Rajeshwari Shinde <rajeshwari.s@samsung.com>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board/stx/stxssa')
0 files changed, 0 insertions, 0 deletions