input: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2024-05-01 19:30:53 -06:00
parent 3ebb4546eb
commit 503cc4d2cb
8 changed files with 2 additions and 8 deletions

View File

@ -3,7 +3,6 @@
* Copyright (C) 2021 Mark Kettenis <kettenis@openbsd.org>
*/
#include <common.h>
#include <dm.h>
#include <keyboard.h>
#include <spi.h>

View File

@ -4,7 +4,6 @@
*/
#include <stdlib.h>
#include <common.h>
#include <dm.h>
#include <fdtdec.h>
#include <input.h>

View File

@ -5,7 +5,6 @@
* Copyright (c) 2012 The Chromium OS Authors.
*/
#include <common.h>
#include <cros_ec.h>
#include <dm.h>
#include <errno.h>

View File

@ -8,7 +8,6 @@
#define LOG_CATEGORY UCLASS_KEYBOARD
#include <common.h>
#include <dm.h>
#include <env.h>
#include <errno.h>

View File

@ -6,13 +6,13 @@
* (C) Copyright 2004 DENX Software Engineering, Wolfgang Denk, wd@denx.de
*/
#include <common.h>
#include <console.h>
#include <dm.h>
#include <env.h>
#include <errno.h>
#include <log.h>
#include <stdio_dev.h>
#include <time.h>
#include <input.h>
#ifdef CONFIG_DM_KEYBOARD
#include <keyboard.h>

View File

@ -6,7 +6,6 @@
* (C) Copyright 2004 DENX Software Engineering, Wolfgang Denk, wd@denx.de
*/
#include <common.h>
#include <dm.h>
#include <key_matrix.h>
#include <log.h>

View File

@ -5,7 +5,6 @@
#define LOG_CATEGORY UCLASS_KEYBOARD
#include <common.h>
#include <dm.h>
#include <keyboard.h>
#include <log.h>

View File

@ -4,7 +4,6 @@
* NVIDIA Corporation <www.nvidia.com>
*/
#include <common.h>
#include <dm.h>
#include <fdtdec.h>
#include <input.h>
@ -13,6 +12,7 @@
#include <log.h>
#include <stdio_dev.h>
#include <tegra-kbc.h>
#include <time.h>
#include <asm/io.h>
#include <asm/arch/clock.h>
#include <asm/arch/funcmux.h>