rtc: pl031: encapsulate per-vendor ops
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 30 Jul 2012 21:41:34 +0000 (14:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 31 Jul 2012 00:25:18 +0000 (17:25 -0700)
commitaff05ed5d103524bd69bd9d7b621c5c8a6c63198
treee71d87d9b9f6f18ea31395382a90084ff9461829
parent36ac1d24f1488c32b85a1718a4edfda615b2ef77
rtc: pl031: encapsulate per-vendor ops

Move the per-vendor operations for this RTC into a encapsulating struct so
we can have more per-vendor variables than just the ops.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-pl031.c