]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: ethernet: ixp4xx: Use distinct local variable
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 12 Jan 2020 12:04:47 +0000 (13:04 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sun, 12 Jan 2020 20:59:53 +0000 (12:59 -0800)
commitd813d7e57026ac7638273d00c9915f2ea83a8fce
treeb9af0ebb15841dad988d1a2f5adc9886b47e3133
parentc83db9ef5640548631707e8b4a7bcddc115fdbae
net: ethernet: ixp4xx: Use distinct local variable

Use "ndev" for the struct net_device and "dev" for the
struct device in probe() and remove(). Add the local
"dev" pointer for later use in refactoring.

Take this opportunity to fix inverse christmas tree
coding style.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/xscale/ixp4xx_eth.c