diff options
author | Andy Shevchenko | 2021-06-07 15:24:58 +0300 |
---|---|---|
committer | Thierry Reding | 2021-06-30 19:12:19 +0200 |
commit | 9ae241d06ef7aca8ebe8b1df91e0621ba7de5195 (patch) | |
tree | 6418da76c5ae935259633d196595c8394700a9ee /drivers/pwm/pwm-vt8500.c | |
parent | c333b936c1530e76eba4e81091874d1217046131 (diff) |
pwm: core: Simplify some devm_*pwm*() functions
Use devm_add_action_or_reset() instead of devres_alloc() and
devres_add(), which works the same. This will simplify the
code. There is no functional changes.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-vt8500.c')
0 files changed, 0 insertions, 0 deletions