ARM: at91: pm: use of_device_id array to find the proper shdwc node
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Wed, 11 Dec 2019 11:04:08 +0000 (13:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Feb 2020 21:34:16 +0000 (16:34 -0500)
commitc406e5352155d0616e233621b0c87247c20d9370
treef90bb88b0b93a1dbfd2fae9a6296c9a31c0c790a
parent69f08f44b4c1292621c91c568dfd3cd8f1f3b7fd
ARM: at91: pm: use of_device_id array to find the proper shdwc node

commit ec6e618c8c018c1361d77789a100a5f6f6317178 upstream.

Use of_device_id array to find the proper shdwc compatibile node.
SAM9X60's shdwc changes were not integrated when
commit eaedc0d379da ("ARM: at91: pm: add ULP1 support for SAM9X60")
was integrated.

Fixes: eaedc0d379da ("ARM: at91: pm: add ULP1 support for SAM9X60")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/1576062248-18514-3-git-send-email-claudiu.beznea@microchip.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-at91/pm.c