gpio: sta2x11: Use BIT() macro
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 27 Jun 2018 09:13:03 +0000 (11:13 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 2 Jul 2018 14:00:49 +0000 (16:00 +0200)
commit24dcfd8437b257a187a1295eb62f3f49c72b025f
tree991c3d9ce4789ed3e34cc60d6cb1d94a34b0f483
parent25fc1778b9ed29e75ef8b30c7827e61b444b8bce
gpio: sta2x11: Use BIT() macro

This removes the custom implementation of the BIT() macro
and inlines all calls to the helper.

Cc: Bartosz Golaszewski <brgl@bgdev.pl>
Acked-by: Alessandro Rubini <rubini@gnudd.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-sta2x11.c