Messages in this thread | | | From | Thierry Reding <> | Subject | Re: [PATCH v2] pwm: Use device_get_match_data() | Date | Tue, 28 Nov 2023 17:59:55 +0100 |
| |
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@gmail.com>
| |