mfd: bcm590xx: Convert to i2c_new_dummy_device
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 22 Jul 2019 17:26:11 +0000 (19:26 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 12 Aug 2019 07:51:58 +0000 (08:51 +0100)
commit98f0c05f409e4fbf186b11dcb2baed84a253c224
tree20f3912de073a9f9aab614521d5a483fe0f7c75f
parentf5d5d193c5f777fb9c03298992668a34c575abdd
mfd: bcm590xx: 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>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/bcm590xx.c