adc: 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:27 -06:00
parent 70ab38f426
commit 7921be7243
8 changed files with 0 additions and 8 deletions

View File

@@ -6,7 +6,6 @@
#define LOG_CATEGORY UCLASS_ADC
#include <common.h>
#include <errno.h>
#include <div64.h>
#include <dm.h>

View File

@@ -3,7 +3,6 @@
* Copyright (C) 2015 Samsung Electronics
* Przemyslaw Marczak <p.marczak@samsung.com>
*/
#include <common.h>
#include <errno.h>
#include <dm.h>
#include <adc.h>

View File

@@ -6,7 +6,6 @@
* Originally based on NXP linux-imx kernel v5.15 drivers/iio/adc/imx93_adc.c
*/
#include <common.h>
#include <errno.h>
#include <dm.h>
#include <linux/bitfield.h>

View File

@@ -7,7 +7,6 @@
* Amlogic Meson Successive Approximation Register (SAR) A/D Converter
*/
#include <common.h>
#include <adc.h>
#include <clk.h>
#include <dm.h>

View File

@@ -5,7 +5,6 @@
* Rockchip SARADC driver for U-Boot
*/
#include <common.h>
#include <adc.h>
#include <clk.h>
#include <dm.h>

View File

@@ -3,7 +3,6 @@
* Copyright (C) 2015 Samsung Electronics
* Przemyslaw Marczak <p.marczak@samsung.com>
*/
#include <common.h>
#include <errno.h>
#include <dm.h>
#include <adc.h>

View File

@@ -6,7 +6,6 @@
* Originally based on the Linux kernel v4.18 drivers/iio/adc/stm32-adc-core.c.
*/
#include <common.h>
#include <dm.h>
#include <asm/io.h>
#include <dm/device_compat.h>

View File

@@ -6,7 +6,6 @@
* Originally based on the Linux kernel v4.18 drivers/iio/adc/stm32-adc.c.
*/
#include <common.h>
#include <adc.h>
#include <dm.h>
#include <asm/io.h>