Re: [PATCH v2] pwm: Use device_get_match_data()

From: Thierry Reding
Date: Tue Nov 28 2023 - 12:00:15 EST



On Thu, 26 Oct 2023 14:54:17 -0500, Rob Herring 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.
>
> As these drivers only do DT based matching, of_match_device() will never
> return NULL if we've gotten to probe(). Therefore, the NULL check and
> error returns can be dropped.
>
> [...]

Applied, thanks!

[1/1] pwm: Use device_get_match_data()
commit: cf5a1a8c8e8875b3fe38835942b393cc1577da55

Best regards,
--
Thierry Reding <thierry.reding@xxxxxxxxx>