From: Magnus Damm Date: Tue, 13 Dec 2011 16:00:55 +0000 (+0900) Subject: sh: pfc: Add config_reg_helper() function X-Git-Tag: v3.3-rc1~90^2~2^3~11^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18925e118b3b4d55b45711218cd3c3c4360e5cd1;p=pandora-kernel.git sh: pfc: Add config_reg_helper() function 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 Signed-off-by: Paul Mundt --- Reading git-diff-tree failed