diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2022-05-20 22:29:18 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2022-05-21 12:55:32 +0200 |
commit | e35fb4188942a7338588536cf9e9756c34c103fb (patch) | |
tree | 3b1fcbaf599cb902dd0f3fd8c6810f32a0e4c7f5 /mm/Kconfig.debug | |
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 <kuninori.morimoto.gx@renesas.com>
[wsa: negated the logic, rebased, updated the commit message]
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'mm/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions