Skip to content

Commit 1b6ed6b

Browse files
M-Vaittinenbroonie
authored andcommitted
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: 7111c6d ("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>
1 parent cff6f59 commit 1b6ed6b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎include/linux/regulator/driver.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,6 @@ struct regulator_irq_data {
554554
*/
555555
struct regulator_irq_desc {
556556
const char *name;
557-
int irq_flags;
558557
int fatal_cnt;
559558
int reread_ms;
560559
int irq_off_ms;

0 commit comments

Comments
 (0)