diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-12-05 01:53:33 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-12-05 04:44:14 +0100 |
commit | 0a0a0219d6c85e6dd3dd5487caa3fb7b540f45f1 (patch) | |
tree | 3431c2a5619c696a7899301d90a71e9ae395b83f /lib/is_single_threaded.c | |
parent | gpio: pca953x: remove redundant variable and check in IRQ handler (diff) | |
download | linux-0a0a0219d6c85e6dd3dd5487caa3fb7b540f45f1.tar.xz linux-0a0a0219d6c85e6dd3dd5487caa3fb7b540f45f1.zip |
gpio: pca953x: use input from regs structure in pca953x_irq_pending()
While PCA_PCAL is defined for PCA953X type only, we still may use an
offset of the input from regs structure for sake of consistency.
Link: http://lkml.kernel.org/r/20191022172922.61232-10-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: William Breathitt Gray <vilhelm.gray@gmail.com>
Cc: Yury Norov <yury.norov@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/is_single_threaded.c')
0 files changed, 0 insertions, 0 deletions