rtc: ds1307: Make use of device properties
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 16 Nov 2020 14:28:58 +0000 (16:28 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 17 Nov 2020 19:25:34 +0000 (20:25 +0100)
commit227ec129ad7b035ee2ae2e57e9567a8126ad93f3
tree9f5e364df6ac972b0da67fa51e64fc3bca79ee60
parenta31111189bb1160f84cf4cf9f910aa2ba7553d18
rtc: ds1307: Make use of device properties

Device property API allows to gather device resources from different sources,
such as ACPI. Convert the drivers to unleash the power of device property API.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20201116142859.31257-2-andriy.shevchenko@linux.intel.com
drivers/rtc/rtc-ds1307.c