mbox series

[-next,0/2] pwm: Remove redundant of_match_ptr() macro

Message ID 20230810074258.2390629-1-ruanjinjie@huawei.com (mailing list archive)
Headers show
Series pwm: Remove redundant of_match_ptr() macro | expand

Message

Jinjie Ruan Aug. 10, 2023, 7:42 a.m. UTC
Since these pwm drivers depend on CONFIG_OF, there is
no need to wrap the macro of_match_ptr() here.

Ruan Jinjie (2):
  pwm: atmel: Remove redundant of_match_ptr()
  pwm: omap-dmtimer: Remove redundant of_match_ptr()

 drivers/pwm/pwm-atmel.c        | 2 +-
 drivers/pwm/pwm-omap-dmtimer.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Uwe Kleine-König Sept. 6, 2023, 3:22 p.m. UTC | #1
On Thu, Aug 10, 2023 at 03:42:56PM +0800, Ruan Jinjie wrote:
> Since these pwm drivers depend on CONFIG_OF, there is
> no need to wrap the macro of_match_ptr() here.
> 
> Ruan Jinjie (2):
>   pwm: atmel: Remove redundant of_match_ptr()
>   pwm: omap-dmtimer: Remove redundant of_match_ptr()
> 
>  drivers/pwm/pwm-atmel.c        | 2 +-
>  drivers/pwm/pwm-omap-dmtimer.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks
Uwe
Thierry Reding Oct. 6, 2023, 8:37 a.m. UTC | #2
On Thu, 10 Aug 2023 15:42:56 +0800, Ruan Jinjie wrote:
> Since these pwm drivers depend on CONFIG_OF, there is
> no need to wrap the macro of_match_ptr() here.
> 
> Ruan Jinjie (2):
>   pwm: atmel: Remove redundant of_match_ptr()
>   pwm: omap-dmtimer: Remove redundant of_match_ptr()
> 
> [...]

Applied, thanks!

[1/2] pwm: atmel: Remove redundant of_match_ptr()
      commit: 2992e07038aa38e1e156a833d6274bf330642722
[2/2] pwm: omap-dmtimer: Remove redundant of_match_ptr()
      commit: 7818f0bcc195e7c49eaaa031f0c26c59978469f6

Best regards,