[PATCH v2] pwm: Use device_get_match_data()

Thierry Reding thierry.reding at gmail.com
Tue Nov 28 08:59:55 PST 2023


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 at gmail.com>



More information about the Linux-rockchip mailing list