Commit e5a4b7ea authored by Linus Walleij's avatar Linus Walleij

Merge tag 'samsung-pinctrl-5.11' of...

Merge tag 'samsung-pinctrl-5.11' of https://git.kernel.org/pub/scm/linux/kernel/git/pinctrl/samsung into devel

Samsung pinctrl drivers changes for v5.11

Only a cleanup of unneeded breaks.
parents 6b99afc0 c5564a50
...@@ -108,19 +108,14 @@ static int s3c24xx_eint_get_trigger(unsigned int type) ...@@ -108,19 +108,14 @@ static int s3c24xx_eint_get_trigger(unsigned int type)
switch (type) { switch (type) {
case IRQ_TYPE_EDGE_RISING: case IRQ_TYPE_EDGE_RISING:
return EINT_EDGE_RISING; return EINT_EDGE_RISING;
break;
case IRQ_TYPE_EDGE_FALLING: case IRQ_TYPE_EDGE_FALLING:
return EINT_EDGE_FALLING; return EINT_EDGE_FALLING;
break;
case IRQ_TYPE_EDGE_BOTH: case IRQ_TYPE_EDGE_BOTH:
return EINT_EDGE_BOTH; return EINT_EDGE_BOTH;
break;
case IRQ_TYPE_LEVEL_HIGH: case IRQ_TYPE_LEVEL_HIGH:
return EINT_LEVEL_HIGH; return EINT_LEVEL_HIGH;
break;
case IRQ_TYPE_LEVEL_LOW: case IRQ_TYPE_LEVEL_LOW:
return EINT_LEVEL_LOW; return EINT_LEVEL_LOW;
break;
default: default:
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment