Skip to content
Commit 1bddc2f5 authored by Axel Lin's avatar Axel Lin Committed by Liam Girdwood
Browse files

regulator: lp3971 - remove unnecessary ret value checking in lp3971_i2c_write()



i2c_smbus_write_byte_data() returns zero or negative value,
therefore no need to check if ret is greater than zero or not.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 53a4befa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment