From: huajun li Date: Tue, 3 May 2011 13:11:00 +0000 (+0800) Subject: xhci: move the common code to a function to get max ports and port array X-Git-Tag: v3.0-rc1~337^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0885924326f79e157847010a9aaf49b058b30dc;p=pandora-kernel.git xhci: move the common code to a function to get max ports and port array There are several functions using same code to get max ports and port array, this patch moves the common code to a function in order to reuse them easily. Signed-off-by: Huajun Li Signed-off-by: Sarah Sharp --- Reading git-diff-tree failed