Re: [PATCH v1 1/1] at24: Drop of_match_ptr() and ACPI_PTR() protections

From: Bartosz Golaszewski
Date: Mon Mar 03 2025 - 06:15:45 EST


From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>


On Tue, 25 Feb 2025 12:08:38 +0200, Andy Shevchenko wrote:
> These result in a very small reduction in driver size, but at the cost
> of more complex build and slightly harder to read code. In the case of
> of_match_ptr() it also prevents use of PRP0001 ACPI based identification.
> In this particular case we have a valid ACPI/PNP ID that should be used
> in preference to PRP0001 but doesn't mean we should prevent that route.
>
> With this done, drop unneeded of*.h inclusions and __maybe_unused markers.
>
> [...]

Applied, thanks!

[1/1] at24: Drop of_match_ptr() and ACPI_PTR() protections
commit: 51e36ca2251c5a47d8f7069d60fd07153cff3f36

Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>