rtc: twl: kill static variables
authorNicolae Rosia <Nicolae_Rosia@mentor.com>
Wed, 23 Nov 2016 08:55:56 +0000 (10:55 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 30 Nov 2016 20:21:01 +0000 (21:21 +0100)
commite3e7f95bca95c7d0172e6481066668a176dc4696
tree10decbfce16de6e8d34587ee5b305498e75a1ec3
parent72d3d79f8da9b17e1f47db567b8def0f9674555c
rtc: twl: kill static variables

The current code uses static variables which prevent
the use of multiple rtc twl instances.
We also make it clear that this driver supports only
TWL4030 and TWL6030 classes.

Signed-off-by: Nicolae Rosia <Nicolae_Rosia@mentor.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-twl.c