lkml.org 
[lkml]   [2023]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2] pwm: Use device_get_match_data()
Date

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>

\
 
 \ /
  Last update: 2023-11-28 18:00    [W:0.068 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site