[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)
committerBen Hutchings <benh@debian.org>
Wed, 29 Apr 2020 03:46:47 +0000 (04:46 +0100)
commit7380429ce64c16ebe43b7dc60e59ee7decdf4933
tree19bed48b383884985fab1ce8be7cdb2315d03933
parent6e634c513f9cb0ef1fcb58a85c97d0b623270c8f
[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