Skip to contentSkip to conversation

ALSA/hda: intel-sdw-acpi: Remove (explicitly) unused header

PATCH In review Andy Shevchenko 2 participants 2 messages Mar 31, 2025 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA/hda: intel-sdw-acpi: Remove (explicitly) unused header

The fwnode.h is not supposed to be used by the drivers as it has the definitions for the core parts for different device property provider implementations. Drop it.

Note, that fwnode API for drivers is provided in property.h which is included here.

---
 sound/hda/intel-sdw-acpi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/hda/intel-sdw-acpi.c +1 -1
index 49d3e0e30073..8686adaf4531 100644
@@ -11,8 +11,8 @@
 #include <linux/device.h>
 #include <linux/errno.h>
 #include <linux/export.h>
-#include <linux/fwnode.h>
 #include <linux/module.h>
+#include <linux/property.h>
 #include <linux/soundwire/sdw_intel.h>
 #include <linux/string.h>
 
Signature · 1 line
2.47.2
#1 lore raw
Quoted 9 lines · Andy Shevchenko

The fwnode.h is not supposed to be used by the drivers as it has the definitions for the core parts for different device property provider implementations. Drop it.

Note, that fwnode API for drivers is provided in property.h which is included here.

Applied now. Thanks.

Takashi