From: NeilBrown Date: Wed, 6 Jun 2018 22:04:21 +0000 (+1000) Subject: staging: mt7621-dts: convert to gpio-keys X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1112b5b1c1936b69e801b42e8a22a79eac836ba8;p=openwrt%2Fstaging%2Fblogic.git staging: mt7621-dts: convert to gpio-keys Now that gpio-interrupts work correctly, we can use gpio-keys instead of gpio-keys-polled for the single push-button on the gbpc-1. Signed-off-by: NeilBrown Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/mt7621-dts/gbpc1.dts b/drivers/staging/mt7621-dts/gbpc1.dts index 47bcee51e016..570d59e847bf 100644 --- a/drivers/staging/mt7621-dts/gbpc1.dts +++ b/drivers/staging/mt7621-dts/gbpc1.dts @@ -24,11 +24,8 @@ }; }; - gpio-keys-polled { - compatible = "gpio-keys-polled"; - #address-cells = <1>; - #size-cells = <0>; - poll-interval = <20>; + gpio-keys { + compatible = "gpio-keys"; reset { label = "reset";