OSDN Git Service

mfd: max8925-i2c: Convert to i2c_new_dummy_device
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 22 Jul 2019 17:26:17 +0000 (19:26 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 12 Aug 2019 07:54:10 +0000 (08:54 +0100)
commitddbf6ffeb63cf06cfc9707a550ece773bbd2a925
tree377cff22da93c6fb33f7a4410f4def30a071c03b
parentb8afcd54db8aae362095c8b490f6240520c4e9a4
mfd: max8925-i2c: 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/max8925-i2c.c