Skip to content

Commit

Permalink
Input: tegra-kbc - require CONFIG_OF, remove platform data
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Warren authored and Dmitry Torokhov committed Feb 16, 2013
1 parent 0b85bf7 commit 9eee07d
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 166 deletions.
2 changes: 1 addition & 1 deletion drivers/input/keyboard/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ config KEYBOARD_NOMADIK

config KEYBOARD_TEGRA
tristate "NVIDIA Tegra internal matrix keyboard controller support"
depends on ARCH_TEGRA
depends on ARCH_TEGRA && OF
select INPUT_MATRIXKMAP
help
Say Y here if you want to use a matrix keyboard connected directly
Expand Down
Loading

0 comments on commit 9eee07d

Please sign in to comment.