net: sfc: falcon: convert to i2c_new_dummy_device
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 22 Jul 2019 17:26:35 +0000 (19:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jul 2019 18:19:19 +0000 (11:19 -0700)
commitc93496e9f7680741c25bab866e729e9606bfae3e
tree7dad2364072d1b25bae3c4bf948a428674b81aac
parent9eed21c01c7827f029000f77d59b61d1b16cb024
net: sfc: falcon: convert to i2c_new_dummy_device

Move from i2c_new_dummy() to i2c_new_dummy_device(). So, we now get an
ERRPTR which we use in error handling.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/falcon/falcon_boards.c