extcon: extcon-max77843: convert to i2c_new_dummy_device
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 22 Jul 2019 17:26:01 +0000 (19:26 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 24 Jul 2019 09:59:05 +0000 (18:59 +0900)
commita6d9cfcb853f32cda972841dace0060e9508ac7a
tree31dec94e5126b2c555f04dc392275a37b0e60f2a
parenta104dbc527551bda0d97db493a2d3d31e3076d4f
extcon: extcon-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: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-max77843.c