diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-08-12 22:29:39 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-08-13 10:40:09 +0200 |
commit | c0ece64497992473aabbcbb007e2afecc8d750a2 (patch) | |
tree | 789929816b48794e2b136c4e2597884aa0ffd09c /lib/irq_poll.c | |
parent | 46c3e31cb0f805f8329756b3d6fc2809839f172e (diff) |
irqdomain: Clarify checks for bus_token
The code uses if (bus_token) and if (bus_token == DOMAIN_BUS_ANY).
Since bus_token is an enum, the latter is more robust against changes.
Convert all !bus_token checks to explicitely check for DOMAIN_BUS_ANY.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20240812193101.1266625-2-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'lib/irq_poll.c')
0 files changed, 0 insertions, 0 deletions