On Tue, Jan 5, 2016 at 2:23 PM, Jean Delvare <jdelvare@xxxxxxx> wrote: > The double negation is costly and can be avoided by shifting the > register value before masking the requested bit. > > Signed-off-by: Jean Delvare <jdelvare@xxxxxxx> > Cc: Linus Walleij <linus.walleij@xxxxxxxxxx> Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html