Searched hist:"5 e81e0a0" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/pinctrl/nomadik/ |
H A D | pinctrl-nomadik.c | 5e81e0a0 Thu Apr 28 07:31:32 CDT 2016 Linus Walleij <linus.walleij@linaro.org> pinctrl: nomadik: use BIT() with offsets consequently
This driver is confusing in referencing/dereferencing the global GPIO number scope in some places and using local offsets in other places. Remove some of the confusion by removing local "bit" and "bitmask" definitions and just use BIT(offset) directly. Also unexport a function only used in this file.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org> 5e81e0a0 Thu Apr 28 07:31:32 CDT 2016 Linus Walleij <linus.walleij@linaro.org> pinctrl: nomadik: use BIT() with offsets consequently This driver is confusing in referencing/dereferencing the global GPIO number scope in some places and using local offsets in other places. Remove some of the confusion by removing local "bit" and "bitmask" definitions and just use BIT(offset) directly. Also unexport a function only used in this file. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
|