* [PATCH v1 1/1] ACPI: VIOT: Remove (explicitly) unused header
@ 2025-03-31 7:23 Andy Shevchenko
2025-05-02 14:11 ` Andy Shevchenko
2025-05-02 15:15 ` Jean-Philippe Brucker
0 siblings, 2 replies; 4+ messages in thread
From: Andy Shevchenko @ 2025-03-31 7:23 UTC (permalink / raw)
To: Robin Murphy, linux-acpi, iommu, linux-kernel
Cc: Jean-Philippe Brucker, Rafael J. Wysocki, Len Brown,
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.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/acpi/viot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/viot.c b/drivers/acpi/viot.c
index 2aa69a2fba73..c13a20365c2c 100644
--- a/drivers/acpi/viot.c
+++ b/drivers/acpi/viot.c
@@ -19,11 +19,11 @@
#define pr_fmt(fmt) "ACPI: VIOT: " fmt
#include <linux/acpi_viot.h>
-#include <linux/fwnode.h>
#include <linux/iommu.h>
#include <linux/list.h>
#include <linux/pci.h>
#include <linux/platform_device.h>
+#include <linux/property.h>
struct viot_iommu {
/* Node offset within the table */
--
2.47.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v1 1/1] ACPI: VIOT: Remove (explicitly) unused header
2025-03-31 7:23 [PATCH v1 1/1] ACPI: VIOT: Remove (explicitly) unused header Andy Shevchenko
@ 2025-05-02 14:11 ` Andy Shevchenko
2025-05-02 15:15 ` Jean-Philippe Brucker
1 sibling, 0 replies; 4+ messages in thread
From: Andy Shevchenko @ 2025-05-02 14:11 UTC (permalink / raw)
To: Robin Murphy, linux-acpi, iommu, linux-kernel
Cc: Jean-Philippe Brucker, Rafael J. Wysocki, Len Brown
On Mon, Mar 31, 2025 at 10:23:11AM +0300, Andy Shevchenko wrote:
> 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.
Any comments? Can it be applied?
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v1 1/1] ACPI: VIOT: Remove (explicitly) unused header
2025-03-31 7:23 [PATCH v1 1/1] ACPI: VIOT: Remove (explicitly) unused header Andy Shevchenko
2025-05-02 14:11 ` Andy Shevchenko
@ 2025-05-02 15:15 ` Jean-Philippe Brucker
2025-05-07 20:06 ` Rafael J. Wysocki
1 sibling, 1 reply; 4+ messages in thread
From: Jean-Philippe Brucker @ 2025-05-02 15:15 UTC (permalink / raw)
To: Andy Shevchenko
Cc: Robin Murphy, linux-acpi, iommu, linux-kernel, Rafael J. Wysocki,
Len Brown
On Mon, Mar 31, 2025 at 10:23:11AM +0300, Andy Shevchenko wrote:
> 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.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
> ---
> drivers/acpi/viot.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/acpi/viot.c b/drivers/acpi/viot.c
> index 2aa69a2fba73..c13a20365c2c 100644
> --- a/drivers/acpi/viot.c
> +++ b/drivers/acpi/viot.c
> @@ -19,11 +19,11 @@
> #define pr_fmt(fmt) "ACPI: VIOT: " fmt
>
> #include <linux/acpi_viot.h>
> -#include <linux/fwnode.h>
> #include <linux/iommu.h>
> #include <linux/list.h>
> #include <linux/pci.h>
> #include <linux/platform_device.h>
> +#include <linux/property.h>
>
> struct viot_iommu {
> /* Node offset within the table */
> --
> 2.47.2
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v1 1/1] ACPI: VIOT: Remove (explicitly) unused header
2025-05-02 15:15 ` Jean-Philippe Brucker
@ 2025-05-07 20:06 ` Rafael J. Wysocki
0 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2025-05-07 20:06 UTC (permalink / raw)
To: Jean-Philippe Brucker, Andy Shevchenko
Cc: Robin Murphy, linux-acpi, iommu, linux-kernel, Len Brown
On Fri, May 2, 2025 at 5:15 PM Jean-Philippe Brucker
<jean-philippe@linaro.org> wrote:
>
> On Mon, Mar 31, 2025 at 10:23:11AM +0300, Andy Shevchenko wrote:
> > 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.
> >
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>
> Reviewed-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
>
> > ---
> > drivers/acpi/viot.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/acpi/viot.c b/drivers/acpi/viot.c
> > index 2aa69a2fba73..c13a20365c2c 100644
> > --- a/drivers/acpi/viot.c
> > +++ b/drivers/acpi/viot.c
> > @@ -19,11 +19,11 @@
> > #define pr_fmt(fmt) "ACPI: VIOT: " fmt
> >
> > #include <linux/acpi_viot.h>
> > -#include <linux/fwnode.h>
> > #include <linux/iommu.h>
> > #include <linux/list.h>
> > #include <linux/pci.h>
> > #include <linux/platform_device.h>
> > +#include <linux/property.h>
> >
> > struct viot_iommu {
> > /* Node offset within the table */
> > --
Applied as 6.16 material, thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-05-07 20:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-31 7:23 [PATCH v1 1/1] ACPI: VIOT: Remove (explicitly) unused header Andy Shevchenko
2025-05-02 14:11 ` Andy Shevchenko
2025-05-02 15:15 ` Jean-Philippe Brucker
2025-05-07 20:06 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox