diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-04-25 14:51:49 +0300 |
|---|---|---|
| committer | Wolfram Sang <wsa@kernel.org> | 2020-05-11 21:21:34 +0200 |
| commit | 19bb22273c42bac264febe38f53a8b9d004a8df5 (patch) | |
| tree | 8a5ad77f40502a535d57600daadff465cc7a5d0d /tools/perf/scripts/python | |
| parent | 73371d5f313aa056a451f84b652623da6054f89b (diff) | |
| download | cachepc-linux-19bb22273c42bac264febe38f53a8b9d004a8df5.tar.gz cachepc-linux-19bb22273c42bac264febe38f53a8b9d004a8df5.zip | |
i2c: mux: pca954x: Refactor pca954x_irq_handler()
Refactor pca954x_irq_handler() to:
- use for_each_set_bit() macro
- use IRQ_RETVAL() macro
Above change makes code easy to read and understand.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
