rtc: ds1307: use sizeof
Use sizeof where possible to ensure we don't read/write more than the
allocated buffer.
Signed-off-by:
Alexandre Belloni <alexandre.belloni@free-electrons.com>
parent
042fa8c7
Please register or sign in to comment