[2/6] net: bcmgenet: refactor phy mode configuration
authorJeremy Linton <jeremy.linton@arm.com>
Mon, 24 Feb 2020 22:53:59 +0000 (16:53 -0600)
committerSalvatore Bonaccorso <carnil@debian.org>
Sat, 23 May 2020 14:29:21 +0000 (15:29 +0100)
commit17174d9a3b5797f92c23dee33bc27ccc6280beff
tree99202782775610004ba7f4102feefe0d82e9baa0
parent8bb9b3059645839a22e82021597152021e11c160
[2/6] net: bcmgenet: refactor phy mode configuration

Origin: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit?id=480ded2652054321d048fb6a3d90af95dc449e42
Bug-Debian: https://bugs.debian.org/950578

The DT phy mode is similar to what we want for ACPI
lets factor it out of the of path, and change the
of_ call to device_.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Gbp-Pq: Topic features/all/bcmgenet
Gbp-Pq: Name 0002-net-bcmgenet-refactor-phy-mode-configuration.patch
drivers/net/ethernet/broadcom/genet/bcmmii.c