We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6b99afc + c5564a5 commit e5a4b7eCopy full SHA for e5a4b7e
drivers/pinctrl/samsung/pinctrl-s3c24xx.c
@@ -108,19 +108,14 @@ static int s3c24xx_eint_get_trigger(unsigned int type)
108
switch (type) {
109
case IRQ_TYPE_EDGE_RISING:
110
return EINT_EDGE_RISING;
111
- break;
112
case IRQ_TYPE_EDGE_FALLING:
113
return EINT_EDGE_FALLING;
114
115
case IRQ_TYPE_EDGE_BOTH:
116
return EINT_EDGE_BOTH;
117
118
case IRQ_TYPE_LEVEL_HIGH:
119
return EINT_LEVEL_HIGH;
120
121
case IRQ_TYPE_LEVEL_LOW:
122
return EINT_LEVEL_LOW;
123
124
default:
125
return -EINVAL;
126
}
0 commit comments