From: Alexandre Belloni Date: Mon, 3 Aug 2015 22:40:25 +0000 (+0200) Subject: rtc: rx8025: cleanup accessors X-Git-Tag: omap-for-v4.3/fixes-rc1~63^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd9061fb497926c0e62bf1c7ff727801499fd2ea;p=pandora-kernel.git 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 --- Reading git-diff-tree failed