Commit 2d91123a authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Thierry Reding

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: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 74ade421
...@@ -281,11 +281,10 @@ struct pwm_ops { ...@@ -281,11 +281,10 @@ struct pwm_ops {
* @dev: device providing the PWMs * @dev: device providing the PWMs
* @ops: callbacks for this PWM controller * @ops: callbacks for this PWM controller
* @owner: module providing this chip * @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 * @npwm: number of PWMs controlled by this chip
* @of_xlate: request a PWM device given a device tree PWM specifier * @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 * @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 * @pwms: array of PWM devices allocated by the framework
*/ */
struct pwm_chip { struct pwm_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