[PATCH v1 1/1] ata: ahci_platform: Don't use "proxy" headers

From: Andy Shevchenko
Date: Thu Apr 04 2024 - 14:02:45 EST


Update header inclusions to follow IWYU (Include What You Use)
principle.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
---
drivers/ata/ahci_platform.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c
index 81fc63f6b008..7d7b1e9c4932 100644
--- a/drivers/ata/ahci_platform.c
+++ b/drivers/ata/ahci_platform.c
@@ -8,16 +8,16 @@
* Anton Vorontsov <avorontsov@xxxxxxxxxxxxx>
*/

-#include <linux/kernel.h>
+#include <linux/ahci_platform.h>
+#include <linux/err.h>
+#include <linux/libata.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
-#include <linux/pm.h>
-#include <linux/device.h>
-#include <linux/platform_device.h>
-#include <linux/property.h>
-#include <linux/libata.h>
-#include <linux/ahci_platform.h>
#include <linux/pci_ids.h>
+#include <linux/platform_device.h>
+#include <linux/pm.h>
+#include <linux/property.h>
+
#include "ahci.h"

#define DRV_NAME "ahci"
--
2.43.0.rc1.1.gbec44491f096