Commit e5a4b7ea authored by Linus Walleij's avatar Linus Walleij
Browse files

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
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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;
	}