]> www.infradead.org Git - users/willy/xarray.git/commitdiff
regulator: Drop unnecessary struct member
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Wed, 24 Nov 2021 07:17:37 +0000 (09:17 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 24 Nov 2021 12:57:27 +0000 (12:57 +0000)
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>
include/linux/regulator/driver.h

index 1cb8071fee343312dc2de57dfeec45061ab6dd53..53b25cd7ead0c22f6724833ae0d3dbd3c7b8c50e 100644 (file)
@@ -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;