diff options
author | Mauro Carvalho Chehab <[email protected]> | 2021-01-29 20:51:53 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-01-31 13:44:41 +0100 |
commit | 307a60f03d5c5624b47d47cf56daaefe992207ac (patch) | |
tree | 764c9cdb6cec6f8f442cbf1cb38ad7fdd56b45a6 /tools/perf/scripts/python | |
parent | 8d126356316f03f0dce2475754d4aa5c6c7ea00f (diff) |
staging: hikey9xx: hi6421-spmi-pmic: cleanup IRQ handling code
- Use BIT() and GENMASK();
- Remove duplicated mask definitions;
- Simplify the code under IRQ handler;
- Add a few extra blank lines to make easier to see
spin_lock/spin_unlock;
- Remove debug code;
- Fix a few minor coding style issues.
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Link: https://lore.kernel.org/r/f9fcb184e7cbe8701298085df76d5d9fd285b2c5.1611949675.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions