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:
@@ -6,7 +6,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_ADC
|
||||
|
||||
#include <common.h>
|
||||
#include <errno.h>
|
||||
#include <div64.h>
|
||||
#include <dm.h>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
* Rockchip SARADC driver for U-Boot
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <adc.h>
|
||||
#include <clk.h>
|
||||
#include <dm.h>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user