spi: omap2-mcspi: Remove the macro MOD_REG_BIT
authorShubhrajyoti D <shubhrajyoti@ti.com>
Wed, 22 Aug 2012 06:05:13 +0000 (11:35 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 22 Aug 2012 16:58:01 +0000 (17:58 +0100)
commitaf4e944dbda418034d1b08628b10e753369fbdc7
tree79b56d897b97536452aac67d8e2c46da8a356f63
parentb2af045c70aa60f7231b22a363d74a1ab5a6297b
spi: omap2-mcspi: Remove the macro MOD_REG_BIT

Remove the macro MOD_REG_BIT instead make the bit field modifications
directly. This deletes a branch operation in cases where the the set
is predecided. While at it optimise two sequential bit clear in one step.

Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-omap2-mcspi.c