Skip to content

Commit 018121e

Browse files
Uwe Kleine-Königthierryreding
authored andcommitted
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: 8083f58 ("pwm: Make pwmchip_remove() return void") Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent a2f68c7 commit 018121e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

drivers/pwm/core.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -313,10 +313,7 @@ EXPORT_SYMBOL_GPL(pwmchip_add);
313313
* pwmchip_remove() - remove a PWM chip
314314
* @chip: the PWM chip to remove
315315
*
316-
* Removes a PWM chip. This function may return busy if the PWM chip provides
317-
* a PWM device that is still requested.
318-
*
319-
* Returns: 0 on success or a negative error code on failure.
316+
* Removes a PWM chip.
320317
*/
321318
void pwmchip_remove(struct pwm_chip *chip)
322319
{

0 commit comments

Comments
 (0)