Re: [PATCH v1 2/2] pinctrl: intel: Try to retrieve driver data for pure platform drivers
From: Andy Shevchenko
Date: Tue Sep 01 2026 - 06:41:26 EST
On Tue, Sep 1, 2026 at 1:24 PM Mika Westerberg
<mika.westerberg@xxxxxxxxxxxxxxx> wrote:
> On Mon, Aug 31, 2026 at 04:25:47PM +0200, Andy Shevchenko wrote:
> > The Denverton pinctrl device can be instantiated by the Intel LPC
> > driver as an MFD platform device named "denverton-pinctrl".
...
> > +static const struct intel_pinctrl_soc_data *
> > +intel_pinctrl_get_soc_data_by_hid(struct platform_device *pdev)
>
> pdev can be const, no?
Yes, but it will require also to change the existing prototype for
_uid case. After I get a confirmation the fix works I will issue a v2
with an additional patch included.
--
With Best Regards,
Andy Shevchenko