mfd: max8907: Convert to i2c_new_dummy_device
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 22 Jul 2019 17:26:16 +0000 (19:26 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 12 Aug 2019 07:53:58 +0000 (08:53 +0100)
commitb8afcd54db8aae362095c8b490f6240520c4e9a4
treeaf93aaeb9229b3163aef9fc21d98befbe4b8c978
parent0005a9e1bab7d2d46538d3db16ef1fde3433c710
mfd: max8907: 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/max8907.c