summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-ds1307.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2017-07-06 22:40:03 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-07-31 00:17:45 +0200
commit11909f0be799585f606a70b7e0a9541736848a2e (patch)
treeede44dc486aff8f7348f739dbb3a23891cc94f4e /drivers/rtc/rtc-ds1307.c
parent7a1fe407fc2a4bbe32a8473c92e2988bc9d25fc3 (diff)
downloadlinux-11909f0be799585f606a70b7e0a9541736848a2e.tar.gz
linux-11909f0be799585f606a70b7e0a9541736848a2e.tar.bz2
linux-11909f0be799585f606a70b7e0a9541736848a2e.zip
rtc: ds1307: remove legacy check for "isil, irq2-can-wakeup-machine" property
Commit 8b44f5be20fd ("ARM: dts: armada: replace isil,irq2-can-wakeup-machine with wakeup-source property") removed the last usage of "isil,irq2-can-wakeup-machine" almost two years ago. So I think we can get rid of supporting this legacy binding. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-ds1307.c')
-rw-r--r--drivers/rtc/rtc-ds1307.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c
index 4fac49e55d47..1cedb21ba792 100644
--- a/drivers/rtc/rtc-ds1307.c
+++ b/drivers/rtc/rtc-ds1307.c
@@ -1388,14 +1388,8 @@ static int ds1307_probe(struct i2c_client *client,
* This will guarantee the 'wakealarm' sysfs entry is available on the device,
* if supported by the RTC.
*/
- if (of_property_read_bool(client->dev.of_node, "wakeup-source")) {
+ if (of_property_read_bool(client->dev.of_node, "wakeup-source"))
ds1307_can_wakeup_device = true;
- }
- /* Intersil ISL12057 DT backward compatibility */
- if (of_property_read_bool(client->dev.of_node,
- "isil,irq2-can-wakeup-machine")) {
- ds1307_can_wakeup_device = true;
- }
#endif
switch (ds1307->type) {