pwm: 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:31:10 -06:00
parent 8719a3f5d8
commit 37de71874d
15 changed files with 0 additions and 15 deletions

View File

@@ -1,6 +1,5 @@
// SPDX-License-Identifier: GPL-2.0+
#include <common.h>
#include <cros_ec.h>
#include <dm.h>
#include <errno.h>

View File

@@ -3,7 +3,6 @@
* Copyright 2016 Google Inc.
*/
#include <common.h>
#include <dm.h>
#include <log.h>
#include <pwm.h>

View File

@@ -38,7 +38,6 @@
* This improvement can disable/enable through PWM_ASPEED_CTRL_DUTY_SYNC_DISABLE.
*/
#include <common.h>
#include <div64.h>
#include <dm.h>
#include <pwm.h>

View File

@@ -9,7 +9,6 @@
* Based on drivers/pwm/pwm-atmel.c from Linux.
*/
#include <clk.h>
#include <common.h>
#include <div64.h>
#include <dm.h>
#include <linux/bitops.h>

View File

@@ -6,7 +6,6 @@
#define LOG_CATEGORY UCLASS_PWM
#include <clk.h>
#include <common.h>
#include <div64.h>
#include <dm.h>
#include <log.h>

View File

@@ -6,7 +6,6 @@
* Basic support for the pwm module on imx6.
*/
#include <common.h>
#include <div64.h>
#include <dm.h>
#include <log.h>

View File

@@ -16,7 +16,6 @@
* current period to complete first).
*/
#include <common.h>
#include <clk.h>
#include <div64.h>
#include <dm.h>

View File

@@ -5,7 +5,6 @@
* Author: Sam Shih <sam.shih@mediatek.com>
*/
#include <common.h>
#include <clk.h>
#include <dm.h>
#include <pwm.h>

View File

@@ -12,7 +12,6 @@
* - The hardware generates only inverted output.
*/
#include <common.h>
#include <clk.h>
#include <div64.h>
#include <dm.h>

View File

@@ -7,7 +7,6 @@
* Based on Linux kernel drivers/pwm/pwm-tiehrpwm.c
*/
#include <common.h>
#include <clk.h>
#include <div64.h>
#include <dm.h>

View File

@@ -6,7 +6,6 @@
#define LOG_CATEGORY UCLASS_PWM
#include <common.h>
#include <dm.h>
#include <pwm.h>

View File

@@ -4,7 +4,6 @@
* Written by Simon Glass <sjg@chromium.org>
*/
#include <common.h>
#include <clk.h>
#include <div64.h>
#include <dm.h>

View File

@@ -4,7 +4,6 @@
* Written by Simon Glass <sjg@chromium.org>
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <pwm.h>

View File

@@ -3,7 +3,6 @@
* Copyright (c) 2017-2018 Vasily Khoruzhick <anarsoul@gmail.com>
*/
#include <common.h>
#include <div64.h>
#include <dm.h>
#include <log.h>

View File

@@ -3,7 +3,6 @@
* Copyright 2016 Google Inc.
*/
#include <common.h>
#include <dm.h>
#include <log.h>
#include <pwm.h>