Skip to content
Commit fd9061fb authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

rtc: rx8025: cleanup accessors



Remove useless error messages, at that point, the user already knows
something went wrong but will not be able to do anything about it anyway.
It is also highly unlikely that some registers are readable/writable
but not some other ones.

Also, transform rx8025_read_reg to be more resemblant to
i2c_smbus_read_byte_data()

Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent 6f0a8cfe
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