]> git.baikalelectronics.ru Git - kernel.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)
commit47dc8123aaeaf8e9094c04d010e9eb256554d17c
tree96461e82b1f3fd7b3335104808f31d5cb96db40e
parentda945839fb410187562ca24bfd48ad5d49c44404
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