Skip to content
Commit 548b19d8 authored by Wong Vee Khee's avatar Wong Vee Khee Committed by Yongxin Liu
Browse files

stmmac: intel: use managed PCI function on probe and resume



commit 8accc467 upstream.

Update dwmac-intel to use managed function, i.e. pcim_enable_device().

This will allow devres framework to call resource free function for us.

Signed-off-by: default avatarWong Vee Khee <vee.khee.wong@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarYongxin Liu <yongxin.liu@windriver.com>
parent 7be58ce8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment