diff options
author | Kuninori Morimoto <[email protected]> | 2022-05-20 22:29:18 +0200 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2022-05-21 12:55:32 +0200 |
commit | e35fb4188942a7338588536cf9e9756c34c103fb (patch) | |
tree | 3b1fcbaf599cb902dd0f3fd8c6810f32a0e4c7f5 /include/linux/fpga/fpga-mgr.h | |
parent | f0f0e07685609c84ef5e0a3b1725bb666c95fbc4 (diff) |
i2c: rcar: use flags instead of atomic_xfer
i2c-rcar already has priv->flags. This patch adds a new persistent flag
ID_P_NOT_ATOMIC and uses it to save the extra variable. The negation of
the logic was done to make the code more readable.
Signed-off-by: Kuninori Morimoto <[email protected]>
[wsa: negated the logic, rebased, updated the commit message]
Signed-off-by: Wolfram Sang <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions