From 301169bd8ce65cc297b2c1fcff55624f1450ec60 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Sat, 22 Apr 2023 08:56:52 +0000 Subject: [PATCH] Revert "pwm: iqs620a: Explicitly set .polarity in .get_state()" This reverts commit 116a17f97764fa017637eca3d3f63f7a54f6cd17. 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 --- drivers/pwm/pwm-iqs620a.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pwm/pwm-iqs620a.c b/drivers/pwm/pwm-iqs620a.c index aeb19a274acc..15aae53db5ab 100644 --- a/drivers/pwm/pwm-iqs620a.c +++ b/drivers/pwm/pwm-iqs620a.c @@ -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; }