rtc: rx8025: cleanup accessors
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 3 Aug 2015 22:40:25 +0000 (00:40 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 5 Sep 2015 11:19:12 +0000 (13:19 +0200)
commitfd9061fb497926c0e62bf1c7ff727801499fd2ea
tree4aeb266f1a720800ab3b37a6c156e0f62caadec7
parent6f0a8cfebb898b88fb0d934d7a44a6d4c98d5285
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: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-rx8025.c