gpio/omap: replace MOD_REG_BIT macro with static inline
authorKevin Hilman <khilman@ti.com>
Tue, 12 Jul 2011 15:18:15 +0000 (08:18 -0700)
committerKevin Hilman <khilman@ti.com>
Tue, 23 Aug 2011 17:53:00 +0000 (10:53 -0700)
commitece9528e5f88cee11303fceefe39382f1030cd4e
tree5790fad5034aa80cc31ffcb0ceeefeafc27db514
parentfcb8ce5cfe30ca9ca5c9a79cdfe26d1993e65e0c
gpio/omap: replace MOD_REG_BIT macro with static inline

This macro is ugly and confusing, especially since it passes in most
arguments, but uses an implied 'base' from the caller.

Replace it with an equivalent static inline.

Signed-off-by: Kevin Hilman <khilman@ti.com>
drivers/gpio/gpio-omap.c