]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: max77843: Convert to i2c_new_dummy_device
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 22 Jul 2019 17:26:15 +0000 (19:26 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 12 Aug 2019 07:54:05 +0000 (08:54 +0100)
commit0005a9e1bab7d2d46538d3db16ef1fde3433c710
tree1b8b652387d0c277bf55e45f4e76f4c09c4fc578
parentad28edcb87337a1c9e52cae4694eb419883b16a9
mfd: max77843: 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/max77843.c