From: Johan Hovold Date: Wed, 10 Dec 2014 23:52:55 +0000 (-0800) Subject: rtc: omap: add device abstraction X-Git-Tag: omap-for-v3.20/drop-legacy-3517~139^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55ba953a35651988a3080bfbeb2496049fc39ee5;p=pandora-kernel.git rtc: omap: add device abstraction Add struct omap_rtc to hold previously global data as well as the IP-block feature flags. Also convert the register-access macros to proper inline helper functions. Signed-off-by: Johan Hovold Cc: Alessandro Zummo Cc: Tony Lindgren Cc: Benot Cousson Cc: Lokesh Vutla Cc: Guenter Roeck Cc: Sekhar Nori Cc: Tero Kristo Cc: Keerthy J Tested-by: Felipe Balbi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed