Skip to content

Commit 9952f38

Browse files
committed
Fix style
1 parent 86b5e86 commit 9952f38

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

examples/bh_threaded.c

+8-6
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,10 @@ static int __init bottomhalf_init(void)
7979

8080
pr_info("Successfully requested BUTTON1 IRQ # %d\n", button_irqs[0]);
8181

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]);
8586

8687
if (ret) {
8788
pr_err("Unable to request IRQ: %d\n", ret);
@@ -99,9 +100,10 @@ static int __init bottomhalf_init(void)
99100

100101
pr_info("Successfully requested BUTTON2 IRQ # %d\n", button_irqs[1]);
101102

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]);
105107

106108
if (ret) {
107109
pr_err("Unable to request IRQ: %d\n", ret);

0 commit comments

Comments
 (0)