i2c: designware: Simplify slave interrupt handler nesting
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Mon, 7 Nov 2022 13:42:42 +0000 (15:42 +0200)
committerWolfram Sang <wsa@kernel.org>
Sat, 12 Nov 2022 06:37:44 +0000 (07:37 +0100)
commit4c7107c2974270ff369342f6f1bd5d3669c182f1
tree9a82db2bd545a5eb0eb57ca6d0b5bf30e552a7bb
parent5cd69850308f7da3c2bfc117fca5fbfa3c530ade
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>
drivers/i2c/busses/i2c-designware-slave.c