Skip to content

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 <swarren@nvidia.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 0b85bf7 commit 9eee07d

File tree

3 files changed

+93
-166
lines changed

3 files changed

+93
-166
lines changed

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)