rtc: pm8xxx: add support for devicetree
authorJosh Cartwright <joshc@codeaurora.org>
Thu, 3 Apr 2014 21:50:13 +0000 (14:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:21:23 +0000 (16:21 -0700)
commit5a418558cdae4fd0699b7b6a960f03a8bb38a338
tree7aafafb5e5993af52b0b0014a80574a8b0f8d8d0
parentbffcbc0887a7496c19639d55ff0e7483ee17aa42
rtc: pm8xxx: add support for devicetree

Add support for describing the PM8921/PM8058 RTC in device tree.

Additionally:
   - drop support for describing the RTC using platform data,
     as there are no current in tree users who do so.
   - make allow_set_time a device-specific flag, instead of mucking
     with the rtc_ops

Signed-off-by: Josh Cartwright <joshc@codeaurora.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Lee Jones <lee.jones@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-pm8xxx.c
include/linux/mfd/pm8xxx/rtc.h [deleted file]