summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2024-02-14 10:33:04 +0100
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2024-02-22 14:39:26 +0100
commit4e1c8593e5fa395fdbdf7f908912967819086c90 (patch)
tree245ef59fadfc4197639bad87ff01eae570b3fbcd /drivers/infiniband
parentpwm: tiehrpwm: Simplify code to determine the pwmchip's parent device (diff)
downloadlinux-4e1c8593e5fa395fdbdf7f908912967819086c90.tar.xz
linux-4e1c8593e5fa395fdbdf7f908912967819086c90.zip
pwm: tiehrpwm: Change prototype of helpers to prepare further changes
This prepares the driver for further changes that will make it harder to determine the pwm_chip from a given ehrpwm_pwm_chip. To just not have to do that, rework ehrpwm_pwm_save_context() and ehrpwm_pwm_restore_context() take a pwm_chip. Also use the pwm_chip as driver data instead of the ehrpwm_pwm_chip. Link: https://lore.kernel.org/r/79052207cdf71f0882ae13fe1a192ef6f6dba35b.1707900770.git.u.kleine-koenig@pengutronix.de Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions