]> git.baikalelectronics.ru Git - kernel.git/commit
pwm: core: Unify fwnode checks in the module
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 7 Jun 2021 12:24:56 +0000 (15:24 +0300)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 30 Jun 2021 17:12:19 +0000 (19:12 +0200)
commit51fcde88e42d81d9130743f85df03ce49373763c
treefca4462b5ca958394351cce0d28d1e7b561eb8b3
parentc01ec6188e43e035c9d076ccf211a1c1e655b6bb
pwm: core: Unify fwnode checks in the module

Historically we have two different approaches on how to check type of fwnode.
Unify them using the latest and greatest fwnode related APIs.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/core.c