rtc: ds1742: don't explicitly specify word_size and stride of nvmem
commit48e9a9b203affc57a2bf6a0d0483472dd950a455
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sun, 20 May 2018 15:21:45 +0000 (20 17:21 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 21 May 2018 20:34:36 +0000 (21 22:34 +0200)
tree8791fddb2abfcc2dde3583a72a5d38607ada8af7
parentded676666f90882181fa004a43bcb84294c2a5c8
rtc: ds1742: don't explicitly specify word_size and stride of nvmem

nvmem_register() assumes these values to be 1 if unset, so they don't
need to be set explicitly.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-ds1742.c