Commit 018121e6 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Thierry Reding

pwm: Remove outdated documentation for pwmchip_remove()

pwmchip_remove() returns void since some time but the documentation still
mentions the situations where it used to return an error code. Just remove
this old and now wrong text.

Fixes: 8083f58d ("pwm: Make pwmchip_remove() return void")
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent a2f68c7e
...@@ -313,10 +313,7 @@ EXPORT_SYMBOL_GPL(pwmchip_add); ...@@ -313,10 +313,7 @@ EXPORT_SYMBOL_GPL(pwmchip_add);
* pwmchip_remove() - remove a PWM chip * pwmchip_remove() - remove a PWM chip
* @chip: the PWM chip to remove * @chip: the PWM chip to remove
* *
* Removes a PWM chip. This function may return busy if the PWM chip provides * Removes a PWM chip.
* a PWM device that is still requested.
*
* Returns: 0 on success or a negative error code on failure.
*/ */
void pwmchip_remove(struct pwm_chip *chip) void pwmchip_remove(struct pwm_chip *chip)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment