Re: [PATCH] mfd: Use device_get_match_data()

From: Lee Jones
Date: Thu Oct 12 2023 - 05:26:28 EST


On Tue, 10 Oct 2023, Chen-Yu Tsai wrote:

> On Tue, Oct 10, 2023 at 5:14 AM Rob Herring <robh@xxxxxxxxxx> wrote:
> >
> > Use preferred device_get_match_data() instead of of_match_device() to
> > get the driver match data. With this, adjust the includes to explicitly
> > include the correct headers.
> >
> > Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
> > ---
> > drivers/mfd/axp20x.c | 22 +++-------------------
>
> I'd keep the error message, but otherwise for axp20x,
>
> Reviewed-by: Chen-Yu Tsai <wens@xxxxxxxx>
>
> > drivers/mfd/hi6421-pmic-core.c | 9 +++------
> > drivers/mfd/mxs-lradc.c | 9 ++-------
> > drivers/mfd/qcom-spmi-pmic.c | 6 ++++--
> > drivers/mfd/qcom_rpm.c | 8 ++++----
> > drivers/mfd/tps65910.c | 11 ++---------
> > drivers/mfd/twl4030-power.c | 9 +++------
> > drivers/mfd/twl6030-irq.c | 10 +++++-----
> > 8 files changed, 26 insertions(+), 58 deletions(-)

FYI, this patch is not in my inbox.

--
Lee Jones [李琼斯]