mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
rtc: ds1307: remove legacy check for "isil, irq2-can-wakeup-machine" property
Commit 8b44f5be20 ("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 <[email protected]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
This commit is contained in:
parent
7a1fe407fc
commit
11909f0be7
3 changed files with 5 additions and 13 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue