]> asedeno.scripts.mit.edu Git - linux.git/commit
mfd: max8997: Convert to i2c_new_dummy_device
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 22 Jul 2019 17:26:18 +0000 (19:26 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 12 Aug 2019 07:53:58 +0000 (08:53 +0100)
commit4e32bff681fb4a7eb552af7187735a68c5afeab1
treeba3424143e04b294f367be40a54dd7a73e5008fb
parentddbf6ffeb63cf06cfc9707a550ece773bbd2a925
mfd: max8997: 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/max8997.c