All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Shevchenko <andy@kernel.org>
To: Marius.Cristea@microchip.com
Cc: jic23@kernel.org, nuno.sa@analog.com, dlechner@baylibre.com,
	robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
	broonie@kernel.org, devicetree@vger.kernel.org,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 2/2] iio: adc: adding support for PAC194X
Date: Tue, 10 Jun 2025 23:20:43 +0300	[thread overview]
Message-ID: <aEiTm9rbJsFYtSfE@smile.fi.intel.com> (raw)
In-Reply-To: <1b8b10816d1f2f34724e77c68de869422d6c84b6.camel@microchip.com>

On Tue, Jun 10, 2025 at 03:07:34PM +0000, Marius.Cristea@microchip.com wrote:
> On Fri, 2025-06-06 at 12:02 -0500, David Lechner wrote:
> > On 6/6/25 4:39 AM, marius.cristea@microchip.com wrote:

...

> > > +#include <linux/acpi.h>
> > > +#include <linux/bitfield.h>
> > > +#include <linux/delay.h>
> > > +#include <linux/err.h>
> > > +#include <linux/i2c.h>
> > > +#include <linux/iio/iio.h>
> > > +#include <linux/iio/events.h>
> > > +#include <linux/iio/sysfs.h>
> > > +#include <linux/unaligned.h>
> > 
> > This seems incomplete. Expecting at least linux/module.h,
> > linux/property.h, etc.
> 
> I will double check. Most probably those module are already included by
> a header.

And this is exactly the problem needs to be addressed.
Read about IFYU principle. That's what we want.

-- 
With Best Regards,
Andy Shevchenko



  parent reply	other threads:[~2025-06-10 20:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-06  9:39 [PATCH v3 0/2] adding support for Microchip PAC194X Power Monitor marius.cristea
2025-06-06  9:39 ` [PATCH v3 1/2] dt-bindings: iio: adc: adding support for PAC194X marius.cristea
2025-06-06 15:53   ` David Lechner
2025-06-10 14:46     ` Marius.Cristea
2025-06-10 15:22       ` David Lechner
2025-06-10 16:04         ` Marius.Cristea
2025-06-10 16:35           ` David Lechner
2025-06-17 15:21             ` Marius.Cristea
2025-06-06 16:24   ` Conor Dooley
2025-06-06  9:39 ` [PATCH v3 2/2] " marius.cristea
2025-06-06 17:02   ` David Lechner
2025-06-10 15:07     ` Marius.Cristea
2025-06-10 16:11       ` David Lechner
2025-06-11 15:59         ` Jonathan Cameron
2025-06-10 20:20       ` Andy Shevchenko [this message]
2025-06-07 15:27   ` Jonathan Cameron
2025-06-10 15:58     ` Marius.Cristea
2025-06-11 16:12       ` Jonathan Cameron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aEiTm9rbJsFYtSfE@smile.fi.intel.com \
    --to=andy@kernel.org \
    --cc=Marius.Cristea@microchip.com \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=jic23@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nuno.sa@analog.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.