aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/bcm47xx/buttons.c
diff options
context:
space:
mode:
authorJanne Huttunen <janne.huttunen@nokia.com>2015-08-13 16:21:46 +0300
committerRalf Baechle <ralf@linux-mips.org>2015-09-03 12:08:11 +0200
commit1d39a5e4ce09172358a5435a3411a46e76a04bb4 (patch)
treeeaf870bb42a3ba9feae9cab1d2ade026cfe98ed3 /arch/mips/bcm47xx/buttons.c
parentMIPS: Octeon: Support interfaces 4 and 5 (diff)
downloadlinux-dev-1d39a5e4ce09172358a5435a3411a46e76a04bb4.tar.xz
linux-dev-1d39a5e4ce09172358a5435a3411a46e76a04bb4.zip
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 <janne.huttunen@nokia.com> Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com> Acked-by: David Daney <david.daney@cavium.com> Cc: David Daney <ddaney.cavm@gmail.com> Cc: linux-mips@linux-mips.org Cc: Janne Huttunen <janne.huttunen@nokia.com> Cc: Aaro Koskinen <aaro.koskinen@nokia.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: devel@driverdev.osuosl.org Patchwork: https://patchwork.linux-mips.org/patch/10975/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions