diff options
| author | 2018-06-07 08:04:21 +1000 | |
|---|---|---|
| committer | 2018-06-17 09:05:11 +0200 | |
| commit | 1112b5b1c1936b69e801b42e8a22a79eac836ba8 (patch) | |
| tree | b9067b0061e9bd75f8526486b0b4793897bc51c7 | |
| parent | staging: mt7621-dts: correct various clock frequencies. (diff) | |
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 <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/mt7621-dts/gbpc1.dts | 7 |
1 files changed, 2 insertions, 5 deletions
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"; |
