From 24babe69d7ff8d3845fac49b741b7257fb03f906 Mon Sep 17 00:00:00 2001 From: Alban Bedel Date: Tue, 14 Feb 2017 00:10:37 +0100 Subject: MIPS: ath79: Use the IRQ based GPIO key driver for the buttons Now that the GPIO driver support interrupts we don't need to poll the buttons. Signed-off-by: Alban Bedel Signed-off-by: Paul Burton Patchwork: https://patchwork.linux-mips.org/patch/15283/ Cc: linux-mips@linux-mips.org Cc: Rob Herring Cc: Mark Rutland Cc: Ralf Baechle Cc: Antony Pavlov Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- arch/mips/boot/dts/qca/ar9331_omega.dts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'arch/mips/boot/dts/qca/ar9331_omega.dts') diff --git a/arch/mips/boot/dts/qca/ar9331_omega.dts b/arch/mips/boot/dts/qca/ar9331_omega.dts index f70f79c4d0d5..11778abacf66 100644 --- a/arch/mips/boot/dts/qca/ar9331_omega.dts +++ b/arch/mips/boot/dts/qca/ar9331_omega.dts @@ -29,11 +29,10 @@ }; }; - gpio-keys-polled { - compatible = "gpio-keys-polled"; + gpio-keys { + compatible = "gpio-keys"; #address-cells = <1>; #size-cells = <0>; - poll-interval = <100>; button@0 { label = "reset"; -- cgit v1.2.3-59-g8ed1b