diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-06-07 15:24:55 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2021-06-30 19:12:19 +0200 |
commit | e5c38ba9f2813beb8cb80ef3f5065bfe98a9a450 (patch) | |
tree | 07ba36cff3ed3919cbb68cc7e72bbf70af966219 /drivers/pwm/pwm-intel-lgm.c | |
parent | ca06616b1eed31126138aaf1a6b5bdd149b61da8 (diff) |
pwm: core: Reuse fwnode_to_pwmchip() in ACPI case
In ACPI case we may use matching by fwnode as provided via
fwnode_to_pwmchip(). This makes device_to_pwmchip() not needed
anymore.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-intel-lgm.c')
0 files changed, 0 insertions, 0 deletions