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 /include/linux/pwm.h | |
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 'include/linux/pwm.h')
-rw-r--r-- | include/linux/pwm.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/pwm.h b/include/linux/pwm.h index 892ece4d4cfa..a0b7e43049d5 100644 --- a/include/linux/pwm.h +++ b/include/linux/pwm.h @@ -426,7 +426,6 @@ struct pwm_device *devm_of_pwm_get(struct device *dev, struct device_node *np, struct pwm_device *devm_fwnode_pwm_get(struct device *dev, struct fwnode_handle *fwnode, const char *con_id); -void devm_pwm_put(struct device *dev, struct pwm_device *pwm); #else static inline struct pwm_device *pwm_request(int pwm_id, const char *label) { @@ -533,10 +532,6 @@ devm_fwnode_pwm_get(struct device *dev, struct fwnode_handle *fwnode, { return ERR_PTR(-ENODEV); } - -static inline void devm_pwm_put(struct device *dev, struct pwm_device *pwm) -{ -} #endif static inline void pwm_apply_args(struct pwm_device *pwm) |