summaryrefslogtreecommitdiffstats
path: root/include/linux/pwm.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-11-14 12:20:11 +0100
committerThierry Reding <thierry.reding@gmail.com>2023-12-20 16:04:12 +0100
commitf3e25e68ceb2abaeefcac8f930c940c4494705d0 (patch)
tree42cab1a89cfe6ad5c41e6733bbf976908309bb39 /include/linux/pwm.h
parent4e7a8dbd2bc0aec4605a5069df7a779bd9e64db1 (diff)
downloadlinux-f3e25e68ceb2abaeefcac8f930c940c4494705d0.tar.gz
linux-f3e25e68ceb2abaeefcac8f930c940c4494705d0.tar.bz2
linux-f3e25e68ceb2abaeefcac8f930c940c4494705d0.zip
pwm: Drop unused member "pwm" from struct pwm_device
This member is only assigned to and never read. So drop it. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'include/linux/pwm.h')
-rw-r--r--include/linux/pwm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/pwm.h b/include/linux/pwm.h
index cda3597b84f2..8cadf9ee8d26 100644
--- a/include/linux/pwm.h
+++ b/include/linux/pwm.h
@@ -79,7 +79,6 @@ struct pwm_device {
const char *label;
unsigned long flags;
unsigned int hwpwm;
- unsigned int pwm;
struct pwm_chip *chip;
struct pwm_args args;