Skip to content
Commit 28c79014 authored by Melissa Wen's avatar Melissa Wen Committed by Jonathan Cameron
Browse files

staging: iio: ad7150: simplify i2c SMBus return treatment



Since i2c_smbus_write_byte_data returns no-positive value, this commit
making the treatment of its return value less verbose.

Signed-off-by: default avatarMelissa Wen <melissa.srw@gmail.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 34b94f93
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