mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-20 18:54:09 +08:00
ARM: dts: exynos: Remove redundant interrupt properties in gpio-keys on Odroid boards
GPIO keys don't need interrupt property. Interrupt number can be derived directly from the GPIO pin definition, so remove redundant 'interrupts' and 'interrupt-parent' properties from gpio-keys nodes on Exynos4412-based Odroid boards. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
This commit is contained in:
parent
227c23b5de
commit
82bce9cf15
@ -31,8 +31,6 @@
|
||||
pinctrl-0 = <&gpio_power_key>;
|
||||
|
||||
power_key {
|
||||
interrupt-parent = <&gpx1>;
|
||||
interrupts = <3 IRQ_TYPE_NONE>;
|
||||
gpios = <&gpx1 3 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_POWER>;
|
||||
label = "power key";
|
||||
|
@ -43,8 +43,6 @@
|
||||
pinctrl-0 = <&gpio_power_key &gpio_home_key>;
|
||||
|
||||
home_key {
|
||||
interrupt-parent = <&gpx2>;
|
||||
interrupts = <2 IRQ_TYPE_NONE>;
|
||||
gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>;
|
||||
linux,code = <KEY_HOME>;
|
||||
label = "home key";
|
||||
|
Loading…
Reference in New Issue
Block a user