Revert "pwm: iqs620a: Explicitly set .polarity in .get_state()"

This reverts commit 116a17f977.

It breaks the current Android kernel abi.  It will be brought back at
the next KABI break update.

Bug: 161946584
Change-Id: Ie8472f722dea420d2a1ee271b30e650b47f97579
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman
2023-04-22 08:56:52 +00:00
committed by Matthias Männich
parent 46e1414454
commit 301169bd8c

View File

@@ -126,7 +126,6 @@ static int iqs620_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
mutex_unlock(&iqs620_pwm->lock);
state->period = IQS620_PWM_PERIOD_NS;
state->polarity = PWM_POLARITY_NORMAL;
return 0;
}