diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-06-07 15:24:58 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2021-06-30 19:12:19 +0200 |
commit | 9ae241d06ef7aca8ebe8b1df91e0621ba7de5195 (patch) | |
tree | 6418da76c5ae935259633d196595c8394700a9ee /drivers/pwm/pwm-tegra.c | |
parent | c333b936c1530e76eba4e81091874d1217046131 (diff) | |
download | linux-9ae241d06ef7aca8ebe8b1df91e0621ba7de5195.tar.bz2 |
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-tegra.c')
0 files changed, 0 insertions, 0 deletions