* Re: [PATCH v1 1/1] i2c: atr: Remove (explicitly) unused header
2025-03-31 7:16 [PATCH v1 1/1] i2c: atr: Remove (explicitly) unused header Andy Shevchenko
@ 2025-03-31 10:53 ` Mukesh Kumar Savaliya
2025-03-31 16:01 ` Luca Ceresoli
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Mukesh Kumar Savaliya @ 2025-03-31 10:53 UTC (permalink / raw)
To: Andy Shevchenko, Peter Zijlstra, linux-i2c, linux-kernel
Cc: Tomi Valkeinen, Luca Ceresoli, Wolfram Sang
On 3/31/2025 12:46 PM, 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>
Acked-by: Mukesh Kumar Savaliya <quic_msavaliy@quicinc.com>
> ---
> drivers/i2c/i2c-atr.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/i2c/i2c-atr.c b/drivers/i2c/i2c-atr.c
> index 8fe9ddff8e96..783fb8df2ebe 100644
> --- a/drivers/i2c/i2c-atr.c
> +++ b/drivers/i2c/i2c-atr.c
> @@ -8,12 +8,12 @@
> * Originally based on i2c-mux.c
> */
>
> -#include <linux/fwnode.h>
> #include <linux/i2c-atr.h>
> #include <linux/i2c.h>
> #include <linux/kernel.h>
> #include <linux/module.h>
> #include <linux/mutex.h>
> +#include <linux/property.h>
> #include <linux/slab.h>
> #include <linux/spinlock.h>
>
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH v1 1/1] i2c: atr: Remove (explicitly) unused header
2025-03-31 7:16 [PATCH v1 1/1] i2c: atr: Remove (explicitly) unused header Andy Shevchenko
2025-03-31 10:53 ` Mukesh Kumar Savaliya
@ 2025-03-31 16:01 ` Luca Ceresoli
2025-04-03 8:11 ` Tomi Valkeinen
2025-04-15 20:16 ` Wolfram Sang
3 siblings, 0 replies; 5+ messages in thread
From: Luca Ceresoli @ 2025-03-31 16:01 UTC (permalink / raw)
To: Andy Shevchenko
Cc: Peter Zijlstra, linux-i2c, linux-kernel, Tomi Valkeinen,
Wolfram Sang
On Mon, 31 Mar 2025 10:16:46 +0300
Andy Shevchenko <andriy.shevchenko@linux.intel.com> 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: Luca Ceresoli <luca.ceresoli@bootlin.com>
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v1 1/1] i2c: atr: Remove (explicitly) unused header
2025-03-31 7:16 [PATCH v1 1/1] i2c: atr: Remove (explicitly) unused header Andy Shevchenko
2025-03-31 10:53 ` Mukesh Kumar Savaliya
2025-03-31 16:01 ` Luca Ceresoli
@ 2025-04-03 8:11 ` Tomi Valkeinen
2025-04-15 20:16 ` Wolfram Sang
3 siblings, 0 replies; 5+ messages in thread
From: Tomi Valkeinen @ 2025-04-03 8:11 UTC (permalink / raw)
To: Andy Shevchenko, Peter Zijlstra, linux-i2c, linux-kernel
Cc: Luca Ceresoli, Wolfram Sang
Hi,
On 31/03/2025 10:16, 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>
> ---
> drivers/i2c/i2c-atr.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/i2c/i2c-atr.c b/drivers/i2c/i2c-atr.c
> index 8fe9ddff8e96..783fb8df2ebe 100644
> --- a/drivers/i2c/i2c-atr.c
> +++ b/drivers/i2c/i2c-atr.c
> @@ -8,12 +8,12 @@
> * Originally based on i2c-mux.c
> */
>
> -#include <linux/fwnode.h>
> #include <linux/i2c-atr.h>
> #include <linux/i2c.h>
> #include <linux/kernel.h>
> #include <linux/module.h>
> #include <linux/mutex.h>
> +#include <linux/property.h>
> #include <linux/slab.h>
> #include <linux/spinlock.h>
>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Tomi
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v1 1/1] i2c: atr: Remove (explicitly) unused header
2025-03-31 7:16 [PATCH v1 1/1] i2c: atr: Remove (explicitly) unused header Andy Shevchenko
` (2 preceding siblings ...)
2025-04-03 8:11 ` Tomi Valkeinen
@ 2025-04-15 20:16 ` Wolfram Sang
3 siblings, 0 replies; 5+ messages in thread
From: Wolfram Sang @ 2025-04-15 20:16 UTC (permalink / raw)
To: Andy Shevchenko
Cc: Peter Zijlstra, linux-i2c, linux-kernel, Tomi Valkeinen,
Luca Ceresoli
[-- Attachment #1: Type: text/plain, Size: 445 bytes --]
On Mon, Mar 31, 2025 at 10:16:46AM +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>
Applied to for-current, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread