Message ID | 20220520202918.17889-1-wsa+renesas@sang-engineering.com |
---|---|
Headers | show |
Series | i2c: rcar: refactor flags | expand |
On Fri, May 20, 2022 at 10:29:17PM +0200, Wolfram Sang wrote: > Previous refactoring makes it easy now to convert the above flag to a > non-persistent one. This is more apropriate and easier to maintain. > > Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Applied to for-next, thanks!
On Fri, May 20, 2022 at 10:29:18PM +0200, Wolfram Sang wrote: > From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> > > 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> Applied to for-next, thanks!