diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2022-11-07 16:42:42 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2022-11-12 09:37:44 +0300 |
commit | 4c7107c2974270ff369342f6f1bd5d3669c182f1 (patch) | |
tree | 9a82db2bd545a5eb0eb57ca6d0b5bf30e552a7bb /drivers/i2c/i2c-core-smbus.c | |
parent | 5cd69850308f7da3c2bfc117fca5fbfa3c530ade (diff) | |
download | linux-4c7107c2974270ff369342f6f1bd5d3669c182f1.tar.xz |
i2c: designware: Simplify slave interrupt handler nesting
Interrupt processing code in i2c-designware-slave.c is bit more readable
if not divided into another subroutine. Also explicit IRQ_NONE and
IRQ_HANDLED return values are more obvious.
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/i2c-core-smbus.c')
0 files changed, 0 insertions, 0 deletions