summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-11-29 11:18:32 +0100
committerThierry Reding <thierry.reding@gmail.com>2023-12-20 16:04:14 +0100
commit2d91123ae5614b8737abd3a519b81265309a1ac3 (patch)
tree61098bb3e60fd6f01e51f25341e23aa22a586872
parent74ade42105bb80e67b7b07b7e88cdaaa8c3402b6 (diff)
pwm: Update kernel doc for struct pwm_chip
Commit c572f3b9c8b7 ("pwm: Replace PWM chip unique base by unique ID") changed the members of struct pwm_chip, but failed to update the documentation accordingly. Catch up and document the new member and drop description for the two removed ones. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
-rw-r--r--include/linux/pwm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/pwm.h b/include/linux/pwm.h
index c27a4bb76012..f87655c06c82 100644
--- a/include/linux/pwm.h
+++ b/include/linux/pwm.h
@@ -281,11 +281,10 @@ struct pwm_ops {
* @dev: device providing the PWMs
* @ops: callbacks for this PWM controller
* @owner: module providing this chip
- * @base: number of first PWM controlled by this chip
+ * @id: unique number of this PWM chip
* @npwm: number of PWMs controlled by this chip
* @of_xlate: request a PWM device given a device tree PWM specifier
* @of_pwm_n_cells: number of cells expected in the device tree PWM specifier
- * @list: list node for internal use
* @pwms: array of PWM devices allocated by the framework
*/
struct pwm_chip {