diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-06-07 15:24:57 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2021-06-30 19:12:19 +0200 |
commit | c333b936c1530e76eba4e81091874d1217046131 (patch) | |
tree | 37bd54659de0725e625c92afe6473235f6bffe49 /Documentation/driver-api/pwm.rst | |
parent | e625fb70a6d21e4d9ca6d91924d4711a66fd634f (diff) | |
download | linux-c333b936c1530e76eba4e81091874d1217046131.tar.gz linux-c333b936c1530e76eba4e81091874d1217046131.tar.bz2 linux-c333b936c1530e76eba4e81091874d1217046131.zip |
pwm: core: Remove unused devm_pwm_put()
There are no users and seems no will come of the devm_pwm_put().
Remove the function.
While at it, slightly update documentation.
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 'Documentation/driver-api/pwm.rst')
-rw-r--r-- | Documentation/driver-api/pwm.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/driver-api/pwm.rst b/Documentation/driver-api/pwm.rst index 750734a7f874..ccb06e485756 100644 --- a/Documentation/driver-api/pwm.rst +++ b/Documentation/driver-api/pwm.rst @@ -40,7 +40,8 @@ after usage with pwm_free(). New users should use the pwm_get() function and pass to it the consumer device or a consumer name. pwm_put() is used to free the PWM device. Managed -variants of these functions, devm_pwm_get() and devm_pwm_put(), also exist. +variants of the getter, devm_pwm_get(), devm_of_pwm_get(), +devm_fwnode_pwm_get(), also exist. After being requested, a PWM has to be configured using:: |