sh: pfc: Add config_reg_helper() function
authorMagnus Damm <damm@opensource.se>
Tue, 13 Dec 2011 16:00:55 +0000 (01:00 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 9 Jan 2012 00:33:52 +0000 (09:33 +0900)
Add a helper function for shared config reg access
calculations. This allows us to reduce the amount
of duplicated code, and at the same time prepare
for a common place for future variable bitwidth
config reg support.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found