From d024236e5a31a2b4b82cbcc98b31b8170fc88d28 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 18 Apr 2018 13:50:47 -0400 Subject: Remove unnecessary instances of DECLARE_GLOBAL_DATA_PTR We have a large number of places where while we historically referenced gd in the code we no longer do, as well as cases where the code added that line "just in case" during development and never dropped it. Signed-off-by: Tom Rini --- drivers/input/cros_ec_keyb.c | 2 -- drivers/input/tegra-kbc.c | 2 -- 2 files changed, 4 deletions(-) (limited to 'drivers/input') diff --git a/drivers/input/cros_ec_keyb.c b/drivers/input/cros_ec_keyb.c index 6fa35a63ddc..f0bf139ae19 100644 --- a/drivers/input/cros_ec_keyb.c +++ b/drivers/input/cros_ec_keyb.c @@ -15,8 +15,6 @@ #include #include -DECLARE_GLOBAL_DATA_PTR; - enum { KBC_MAX_KEYS = 8, /* Maximum keys held down at once */ KBC_REPEAT_RATE_MS = 30, diff --git a/drivers/input/tegra-kbc.c b/drivers/input/tegra-kbc.c index cb5695784e9..1c2768345a8 100644 --- a/drivers/input/tegra-kbc.c +++ b/drivers/input/tegra-kbc.c @@ -19,8 +19,6 @@ #include #include -DECLARE_GLOBAL_DATA_PTR; - enum { KBC_MAX_GPIO = 24, KBC_MAX_KPENT = 8, /* size of keypress entry queue */ -- cgit v1.2.3