Re: [PATCH v1 1/1] hwmon: (jc42) Drop of_match_ptr() protection

From: Guenter Roeck
Date: Fri Nov 08 2024 - 09:33:20 EST


On Fri, Nov 08, 2024 at 02:43:48PM +0200, Andy Shevchenko wrote:
> This prevents use of this driver with ACPI via PRP0001 and
> is an example of an anti pattern I'm trying to remove from
> the kernel. Hence drop from this driver.
>
> Also switch of.h for mod_devicetable.h include given use of
> struct of_device_id which is defined in that header.
>
> Reported-by: Konstantin Aladyshev <aladyshev22@xxxxxxxxx>
> Closes: https://lore.kernel.org/r/CACSj6VW7WKv5tiAkLCvSujENJvXq1Mc7_7vtkQsRSz3JGY0i3Q@xxxxxxxxxxxxxx
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Applied.

Thanks,
Guenter