diff options
author | Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> | 2021-11-24 10:17:37 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-11-24 15:57:27 +0300 |
commit | 1b6ed6bf32fb22ef8e3572fc9c0f6454adf1ca40 (patch) | |
tree | b81a4fce9cf9e8483dd9f0aeca46b6115241465e /include/linux/regulator | |
parent | cff6f593251cdf5398dc3c57f7032b8e9dcb633e (diff) | |
download | linux-1b6ed6bf32fb22ef8e3572fc9c0f6454adf1ca40.tar.xz |
regulator: Drop unnecessary struct member
The irq_flags from the regulator IRQ helper description struct was never
used. The IRQ flags are passed as parameters to helper registration
instead.
Remove the unnecessary struct field.
Fixes: 7111c6d1b31b ("regulator: IRQ based event/error notification helpers")
Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Link: https://lore.kernel.org/r/5f6371e178453fa2b165da50452f7db4e986debb.1637736436.git.matti.vaittinen@fi.rohmeurope.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/regulator')
-rw-r--r-- | include/linux/regulator/driver.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h index 1cb8071fee34..53b25cd7ead0 100644 --- a/include/linux/regulator/driver.h +++ b/include/linux/regulator/driver.h @@ -554,7 +554,6 @@ struct regulator_irq_data { */ struct regulator_irq_desc { const char *name; - int irq_flags; int fatal_cnt; int reread_ms; int irq_off_ms; |