OSDN Git Service

rtc: ds1307: fix data pointer to m41t0
authorGiulio Benetti <giulio.benetti@micronovasrl.com>
Wed, 16 May 2018 21:08:39 +0000 (23:08 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 16 Jul 2018 21:36:23 +0000 (23:36 +0200)
commit146a552c67b1adae50065d2c8f00169302f26c44
tree490cff2e1eee2e932d22de8da89a594b67e2dacc
parent5089ea15baa9e7b0cb49f36881f2cb27bf281789
rtc: ds1307: fix data pointer to m41t0

data field points to m41t00, instead it should point to m41t0.
Driver works correctly because on both cases(m41t0 and m41t00) chip_desc
are equal.

Point to right enum m41t0 instead of m41t00.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-ds1307.c