r8169: switch to device-managed functions in probe
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 12 Dec 2017 06:41:02 +0000 (07:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Dec 2017 19:51:50 +0000 (14:51 -0500)
commit4c45d24a759d8e7257347ef7200f1319db6ab5f8
tree88d7841ef17276bcee57091d38aeffda87bd2bf7
parentfc0f9f4d2f26b12fd2eda239bb8f18ceaf192c91
r8169: switch to device-managed functions in probe

Simplify probe error path and remove callback by using device-managed
functions.

rtl_disable_msi isn't needed any longer because the release callback
of pcim_enable_device does this implicitely.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c