summaryrefslogtreecommitdiff
path: root/drivers/pwm
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-07-25 11:19:45 +0300
committerThierry Reding <thierry.reding@gmail.com>2023-07-28 10:24:29 +0300
commit018121e655c8ac2b369f70758dbddf7a37ef534f (patch)
tree79833055dbd791e96c9ec526e490160e9bf549b4 /drivers/pwm
parenta2f68c7e312f94c8f78740449a88e8d7308ab18d (diff)
downloadlinux-018121e655c8ac2b369f70758dbddf7a37ef534f.tar.xz
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: 8083f58d08fd ("pwm: Make pwmchip_remove() return void") Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm')
-rw-r--r--drivers/pwm/core.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/pwm/core.c b/drivers/pwm/core.c
index 11f2f1fd0846..00e85acd92c4 100644
--- a/drivers/pwm/core.c
+++ b/drivers/pwm/core.c
@@ -313,10 +313,7 @@ EXPORT_SYMBOL_GPL(pwmchip_add);
* pwmchip_remove() - remove a PWM chip
* @chip: the PWM chip to remove
*
- * Removes a PWM chip. This function may return busy if the PWM chip provides
- * a PWM device that is still requested.
- *
- * Returns: 0 on success or a negative error code on failure.
+ * Removes a PWM chip.
*/
void pwmchip_remove(struct pwm_chip *chip)
{