rtc: rewrite isl1208 to support DM
authorKlaus Goger <klaus.goger@theobroma-systems.com>
Mon, 19 Mar 2018 19:32:05 +0000 (20:32 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 7 Apr 2018 00:45:28 +0000 (20:45 -0400)
commit52280315a4c58647906a56af8ce79b7ee0c28571
tree63a7c273f2642c30c2a14aba6cacbb8b8ef5577c
parent96583cdc2d217686fb2c9e345f0bbaa9c9ea2c49
rtc: rewrite isl1208 to support DM

Adds devicemodel support to the ISL1208 driver.
This patch drops the non-dm API as no board was using it anyway.
Also add it to Kconfig.

Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/rtc/Kconfig
drivers/rtc/isl1208.c