aboutsummaryrefslogtreecommitdiff
path: root/tools/usb
diff options
context:
space:
mode:
authorAxel Lin2012-07-31 21:28:26 +0800
committerMark Brown2012-08-28 11:00:25 -0700
commit363506cd71a5cafeee67b236112f1baf8c30b0ea (patch)
tree3fa3b6aa6e7d580cb95b1f3f89884976c91c81f4 /tools/usb
parent7c7475c009260d02d56f940816bb7c86fce1542e (diff)
regulator: wm831x-ldo: Check return value of wm831x_reg_read()
wm831x_reg_read() returns negative error code on failure. This prevents using the error code as the value read. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'tools/usb')
0 files changed, 0 insertions, 0 deletions