diff options
author | Eric W. Biederman <[email protected]> | 2021-10-18 11:22:20 -0500 |
---|---|---|
committer | Eric W. Biederman <[email protected]> | 2021-10-20 10:45:34 -0500 |
commit | 32342701b4ba57a6fd77e8aca2f65f68c0fa1da6 (patch) | |
tree | 1c26835ca75bfe43efe4ad4bf88b6bdc15abcd1d /drivers/gpio/gpio-ich.c | |
parent | da70d3109e74adf6ae9f8d1f6c7c0c9735d314ba (diff) |
ucounts: Use atomic_long_sub_return for clarity
Decrement ucounts using atomic_long_sub_return to make it
clear the point is for the ucount to decrease.
Not a big deal but it should make it easier to catch bugs.
Suggested-by: Yu Zhao <[email protected]>
Link: https://lkml.kernel.org/r/87k0iaqkqj.fsf_-_@disp2133
Tested-by: Yu Zhao <[email protected]>
Reviewed-by: Alexey Gladkov <[email protected]>
Signed-off-by: "Eric W. Biederman" <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-ich.c')
0 files changed, 0 insertions, 0 deletions