[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220514171738.062b127d@jic23-huawei>
Date: Sat, 14 May 2022 17:17:38 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Dmitry Osipenko <digetx@...il.com>
Cc: Shreeya Patel <shreeya.patel@...labora.com>, lars@...afoo.de,
robh+dt@...nel.org, Zhigang.Shi@...eon.com, krisman@...labora.com,
linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel@...labora.com,
alvaro.soliverez@...labora.com
Subject: Re: [PATCH v4 3/3] iio: light: Add support for ltrf216a sensor
On Fri, 13 May 2022 02:40:41 +0300
Dmitry Osipenko <digetx@...il.com> wrote:
> Hello Shreeya,
>
> ...
> > +#include <linux/init.h>
> > +#include <linux/mod_devicetable.h>
>
> You may safely remove these includes because module.h always provides them.
Safely yes, but generally I'd prefer direct include
of mod_devicetable.h because of the direct use of
elements from it in the driver.
Jonathan
Powered by blists - more mailing lists