]> Git Repo - linux.git/commit
gpio: pca953x: remove redundant variable and check in IRQ handler
authorAndy Shevchenko <[email protected]>
Thu, 5 Dec 2019 00:53:30 +0000 (16:53 -0800)
committerLinus Torvalds <[email protected]>
Thu, 5 Dec 2019 03:44:14 +0000 (19:44 -0800)
commita97832f224893d6155aa785773df70263cfe94ef
tree2d25dcb158ae36e5787b021abae793d634e63072
parent30544ed5de431fe25d3793e4dd5a058d877c4d77
gpio: pca953x: remove redundant variable and check in IRQ handler

We always will have at least one iteration of the loop due to pending
being guaranteed to be non-zero.  That is, we may remove extra variable
and check in the IRQ handler.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Andy Shevchenko <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Cc: Bartosz Golaszewski <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Cc: Thomas Petazzoni <[email protected]>
Cc: William Breathitt Gray <[email protected]>
Cc: Yury Norov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/gpio/gpio-pca953x.c
This page took 0.059094 seconds and 4 git commands to generate.