debugfs: add tools to printk 32-bit registers
authorAlessandro Rubini <rubini@gnudd.com>
Fri, 18 Nov 2011 13:50:21 +0000 (14:50 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Nov 2011 18:31:22 +0000 (10:31 -0800)
Some debugfs file I deal with are mostly blocks of registers,
i.e. lines of the form "<name> = 0x<value>". Some files are only
registers, some include registers blocks among other material.  This
patch introduces data structures and functions to deal with both
cases.  I expect more users of this over time.

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi@st.com>
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found