pinctrl: samsung: s3c24xx: remove unneeded break

A break is not needed if it is preceded by a return.

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20201020131520.29117-1-trix@redhat.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
This commit is contained in:
Tom Rix 2020-10-20 06:15:20 -07:00 committed by Krzysztof Kozlowski
parent 3650b228f8
commit c5564a50d9

View File

@ -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;
} }