On Wed, Feb 14, 2024 at 10:33:22AM +0100, Uwe Kleine-König wrote: > This prepares the driver for further changes that will make it harder to > determine the pwm_chip from a given gb_pwm_chip. To just not have > to do that, rework gb_pwm_activate_operation(), > gb_pwm_deactivate_operation(), gb_pwm_config_operation(), > gb_pwm_set_polarity_operation(), gb_pwm_enable_operation() and > gb_pwm_disable_operation() to take a pwm_chip. Also use the pwm_chip as > driver data instead of the gb_pwm_chip. > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>