]> git.karo-electronics.de Git - mv-sheeva.git/commit
sh: pfc: Convert index to field and value pair
authorMagnus Damm <damm@opensource.se>
Tue, 13 Dec 2011 16:00:46 +0000 (01:00 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 9 Jan 2012 00:33:51 +0000 (09:33 +0900)
commitad4a07ff8da7147b391f1ff0034f313a8b9da9e5
treebc6efed70c3b063df7f9ccb156b4a03f5adb0a55
parent92554d97c6dcc448afd56f96bbe933998868be74
sh: pfc: Convert index to field and value pair

Update the way the PFC code is passing bitfield
selection between configure register functions.

Convert the code from using index only to bitfield
number and selected value. First step towards future
variable bitfield width support.

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