From: Janne Huttunen Date: Thu, 13 Aug 2015 13:21:46 +0000 (+0300) Subject: STAGING: Octeon: Use common helpers for determining interface and port X-Git-Tag: omap-for-v4.3/fixes-rc1~99^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d39a5e4ce09172358a5435a3411a46e76a04bb4;p=pandora-kernel.git STAGING: Octeon: Use common helpers for determining interface and port Currently the Octeon Ethernet driver hardcodes the mapping between interface/port and IPD port number. Since we have generic helpers for the very same purpose, we might as well use them instead. This prevents having the same information in multiple places. Signed-off-by: Janne Huttunen Signed-off-by: Aaro Koskinen Acked-by: David Daney Cc: David Daney Cc: linux-mips@linux-mips.org Cc: Janne Huttunen Cc: Aaro Koskinen Cc: Greg Kroah-Hartman Cc: devel@driverdev.osuosl.org Patchwork: https://patchwork.linux-mips.org/patch/10975/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed