On Mon, Jun 10, 2019 at 7:12 PM Grygorii Strashko
<grygorii.stras...@ti.com> wrote:

> From: Russell King <rmk+ker...@armlinux.org.uk>
>
> This function open-codes an exclusive-or bitwise operation using an
> if() statement and explicitly setting or clearing the bit. Instead,
> use an exclusive-or operation instead, and simplify the function.
>
> We can combine the preprocessor conditional using IS_ENABLED() and
> gain some additional compilation coverage.
>
> Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
> Signed-off-by: Grygorii Strashko <grygorii.stras...@ti.com>

Patch applied.

Yours,
Linus Walleij

Reply via email to