diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2024-04-02 15:50:34 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2024-04-03 13:39:37 +0200 |
commit | 648bfcfb968476de9197d1372ed8e5c22e78c3ca (patch) | |
tree | 3d24bc8c1c36d4fd2536a0d1384f7f33efd0de40 | |
parent | 40db06326f87cd75fee1d147376e54852df09aba (diff) | |
download | barebox-648bfcfb9684.tar.gz barebox-648bfcfb9684.tar.xz |
input: imx-keypad: remove now-duplicate debug messages
With the recent addition of CONFIG_INPUT_EVBUG, the debug messages in
the i.MX keypad driver adds no extra value, so remove it.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20240402135035.3700601-4-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | drivers/input/imx_keypad.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/input/imx_keypad.c b/drivers/input/imx_keypad.c index 2c003905a7..e57a884630 100644 --- a/drivers/input/imx_keypad.c +++ b/drivers/input/imx_keypad.c @@ -72,7 +72,6 @@ struct imx_keypad { struct input_device input; struct clk *clk; - struct device *dev; void __iomem *mmio_base; struct poller_struct poller; @@ -199,10 +198,6 @@ static void imx_keypad_fire_events(struct imx_keypad *keypad, input_report_key_event(&keypad->input, keypad->keycodes[code], matrix_volatile_state[col] & (1 << row)); - - dev_dbg(keypad->dev, "Event code: %d, val: %d", - keypad->keycodes[code], - matrix_volatile_state[col] & (1 << row)); } } } @@ -367,7 +362,6 @@ static int __init imx_keypad_probe(struct device *dev) keypad = xzalloc(sizeof(struct imx_keypad)); - keypad->dev = dev; iores = dev_request_mem_resource(dev, 0); if (IS_ERR(iores)) return PTR_ERR(iores); |