diff options
author | Andy Shevchenko <[email protected]> | 2024-08-12 22:29:39 +0300 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2024-08-13 10:40:09 +0200 |
commit | c0ece64497992473aabbcbb007e2afecc8d750a2 (patch) | |
tree | 789929816b48794e2b136c4e2597884aa0ffd09c /drivers/fpga/fpga-mgr.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 <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions