]> git.openfabrics.org - ~emulex/infiniband.git/commit
staging: omap-thermal: introduce RMW_BITS macro
authorEduardo Valentin <eduardo.valentin@ti.com>
Fri, 15 Mar 2013 12:59:55 +0000 (08:59 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 16:02:09 +0000 (09:02 -0700)
commitd3c291ab802fe8d7c467eddfa1029fa6fc663434
tree96461e82b1f3fd7b3335104808f31d5cb96db40e
parent35b052a6c9a4de5eae6fee60663c9b6606651c1a
staging: omap-thermal: introduce RMW_BITS macro

This patch introduce a macro to read, update, write bitfields.
It will be specific to bandgap data structures.

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/omap-thermal/omap-bandgap.c