@@ -79,9 +79,10 @@ static int __init bottomhalf_init(void)
79
79
80
80
pr_info ("Successfully requested BUTTON1 IRQ # %d\n" , button_irqs [0 ]);
81
81
82
- ret = request_threaded_irq (
83
- button_irqs [0 ], button_top_half , button_bottom_half ,
84
- IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING , "gpiomod#button1" , & buttons [0 ]);
82
+ ret = request_threaded_irq (button_irqs [0 ], button_top_half ,
83
+ button_bottom_half ,
84
+ IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING ,
85
+ "gpiomod#button1" , & buttons [0 ]);
85
86
86
87
if (ret ) {
87
88
pr_err ("Unable to request IRQ: %d\n" , ret );
@@ -99,9 +100,10 @@ static int __init bottomhalf_init(void)
99
100
100
101
pr_info ("Successfully requested BUTTON2 IRQ # %d\n" , button_irqs [1 ]);
101
102
102
- ret = request_threaded_irq (
103
- button_irqs [1 ], button_top_half , button_bottom_half ,
104
- IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING , "gpiomod#button2" , & buttons [1 ]);
103
+ ret = request_threaded_irq (button_irqs [1 ], button_top_half ,
104
+ button_bottom_half ,
105
+ IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING ,
106
+ "gpiomod#button2" , & buttons [1 ]);
105
107
106
108
if (ret ) {
107
109
pr_err ("Unable to request IRQ: %d\n" , ret );
0 commit comments