igb: convert to use i2c_new_client_device()
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 26 Mar 2020 21:09:59 +0000 (22:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Mar 2020 02:31:21 +0000 (19:31 -0700)
commit07eaf53adb66be0212cce612fd6937f0574c5b3a
treea6967829cd6f1d4f39e332fd04eb4a69c4882a4b
parentadde556552dd514de99beba72c3b23d70a657e56
igb: convert to use i2c_new_client_device()

Move away from the deprecated API and return the shiny new ERRPTR where
useful.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/igb/igb_hwmon.c