Skip to content
This repository was archived by the owner on Feb 9, 2023. It is now read-only.

Commit 9eee07d

Browse files
nvswarrendtor
authored andcommitted
Input: tegra-kbc - require CONFIG_OF, remove platform data
Tegra only supports, and always enables, device tree. Remove all ifdefs and runtime checks for DT support from the driver. Platform data is therefore no longer required. Delete the header that defines it, and rework the driver to parse the device tree directly into struct tegra_kbc. Signed-off-by: Stephen Warren <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 0b85bf7 commit 9eee07d

3 files changed

Lines changed: 93 additions & 166 deletions

File tree

drivers/input/keyboard/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ config KEYBOARD_NOMADIK
420420

421421
config KEYBOARD_TEGRA
422422
tristate "NVIDIA Tegra internal matrix keyboard controller support"
423-
depends on ARCH_TEGRA
423+
depends on ARCH_TEGRA && OF
424424
select INPUT_MATRIXKMAP
425425
help
426426
Say Y here if you want to use a matrix keyboard connected directly

0 commit comments

Comments
 (0)