On Mon, Mar 28, 2022 at 09:34:34AM +0200, Uwe Kleine-König wrote: > To eventually get rid of all legacy drivers convert this driver to the > modern world implementing .apply(). > > The size check for state->period is moved to .apply() to make sure that > the values of state->duty_cycle and state->period are passed to > pwm_samsung_config without change while they are discarded to int. > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> > --- > drivers/pwm/pwm-samsung.c | 54 ++++++++++++++++++++++++++++++--------- > 1 file changed, 42 insertions(+), 12 deletions(-) Applied, thanks. Thierry
Attachment:
signature.asc
Description: PGP signature