]> git.dujemihanovic.xyz Git - u-boot.git/commit
power_i2c.c: Fix unused variable warning
authorTom Rini <trini@konsulko.com>
Wed, 11 Jan 2017 14:16:05 +0000 (09:16 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 11 Jan 2017 14:16:05 +0000 (09:16 -0500)
commitc8ac6449797951414cec471e759e7bb0c46f490f
tree75c7474cc5d6cd6594bed96d3494679bcce39a67
parent5b30997fd26f0e13837e9ba3cd289a037b8353bd
power_i2c.c: Fix unused variable warning

The variable ret was added but never set as we did not make calls to
other functions that we needed to check the return value on.

Fixes: 505cf4750ae5 ("power: change from meaningless value to error number")
Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/power/power_i2c.c