From: Jiri Slaby Date: Sat, 19 Sep 2009 20:13:13 +0000 (-0700) Subject: cyclades: avoid addresses recomputation X-Git-Tag: v2.6.32-rc1~627^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0eefdc30e55e761facf645bd1be1339b21c30e6;p=pandora-kernel.git cyclades: avoid addresses recomputation Don't fetch firmware address and recompute channel control on each port access. Precompute the values on init and use them later all the time. The same for board control. This simplify code and improves readability. Signed-off-by: Jiri Slaby Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed