]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ethernet: amd: use devm_ioremap()
authorVarka Bhadram <varkab@cdac.in>
Mon, 14 Jul 2014 08:39:05 +0000 (14:09 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jul 2014 02:14:15 +0000 (19:14 -0700)
commit711fec5d22e15f24b11b6c7f79cc39cb96f52b13
tree7e0856374003ca5e9aac13a80aa4e1fef5868b2d
parent43519e60ef8020e7b4f99d20b6663fab50af21dc
ethernet: amd: use devm_ioremap()

This patch replace ioremap() with the devm_ioremap() so that
the resource will be freed automatically with the probe failed.

Signed-off-by: Varka Bhadram <varkab@cdac.in>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/amd8111e.c