rtc: isl1208: Introduce driver state struct
authorTrent Piepho <tpiepho@impinj.com>
Tue, 12 Feb 2019 02:34:03 +0000 (02:34 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 17 Feb 2019 20:29:10 +0000 (21:29 +0100)
commited3c52a075e9488cc672c5658414b2f157fc5688
tree318c728bcf26a283fe69bc920e24136e9165ad9d
parent5736610ab61622ca4ca09a5778a8b18fd3220b1b
rtc: isl1208: Introduce driver state struct

This driver has no state of its own, depending entirely on what is in
the generic rtc device.

Intoduce a state struct.  For now it only contains a pointer to the rtc
device struct, but future patches will add more data.

Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Trent Piepho <tpiepho@impinj.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-isl1208.c