Input: tegra-kbc - use device_get_match_data()
authorRob Herring <robh@kernel.org>
Sat, 14 Oct 2023 03:09:33 +0000 (20:09 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 14 Oct 2023 03:18:43 +0000 (20:18 -0700)
commit6cd256694afe2a0a94f62418fea95279de2b7ada
tree0c03e709fe09626fd6a096706076f02505aa8614
parent787650cc335201a0489905c5504a9179470ebc51
Input: tegra-kbc - use device_get_match_data()

Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data. With this, adjust the includes to explicitly
include the correct headers.

Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20231006224432.442709-1-robh@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/tegra-kbc.c