summaryrefslogtreecommitdiff
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2020-12-02 01:54:32 +0300
committerLinus Walleij <linus.walleij@linaro.org>2020-12-02 01:54:32 +0300
commite5a4b7ea154ad08977453f4879e7983e2c490eee (patch)
tree5e96b21c4741b438cfe9e9a94c6dcf9f3c9d1ed5 /drivers/pinctrl
parent6b99afc01a5bc01f205966bff74dbfee86a78344 (diff)
parentc5564a50d99019f3c713fa306d5feecc3e909b10 (diff)
downloadlinux-e5a4b7ea154ad08977453f4879e7983e2c490eee.tar.xz
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.
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/samsung/pinctrl-s3c24xx.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/pinctrl/samsung/pinctrl-s3c24xx.c b/drivers/pinctrl/samsung/pinctrl-s3c24xx.c
index 5e24838a582f..2223ead5bd72 100644
--- a/drivers/pinctrl/samsung/pinctrl-s3c24xx.c
+++ b/drivers/pinctrl/samsung/pinctrl-s3c24xx.c
@@ -108,19 +108,14 @@ static int s3c24xx_eint_get_trigger(unsigned int type)
switch (type) {
case IRQ_TYPE_EDGE_RISING:
return EINT_EDGE_RISING;
- break;
case IRQ_TYPE_EDGE_FALLING:
return EINT_EDGE_FALLING;
- break;
case IRQ_TYPE_EDGE_BOTH:
return EINT_EDGE_BOTH;
- break;
case IRQ_TYPE_LEVEL_HIGH:
return EINT_LEVEL_HIGH;
- break;
case IRQ_TYPE_LEVEL_LOW:
return EINT_LEVEL_LOW;
- break;
default:
return -EINVAL;
}