]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8e62894cdbc035955b09ab33343a4530571f1349
tree10decbfce16de6e8d34587ee5b305498e75a1ec3
parenta38f72a05a48478e4099a5a68bd97be95ee0ac96
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