Re: [PATCH] mfd: tps80031: convert to devm_i2c_new_dummy_device

2019-08-12 Thread Lee Jones
On Mon, 22 Jul 2019, Wolfram Sang wrote: > Move from i2c_new_dummy() to devm_i2c_new_dummy_device(). So, we now get > an ERRPTR which we use in error handling and we can skip removal of the > created devices. > > Signed-off-by: Wolfram Sang > --- > > Only build tested. Part of a tree-wide move

[PATCH] mfd: tps80031: convert to devm_i2c_new_dummy_device

2019-07-22 Thread Wolfram Sang
Move from i2c_new_dummy() to devm_i2c_new_dummy_device(). So, we now get an ERRPTR which we use in error handling and we can skip removal of the created devices. Signed-off-by: Wolfram Sang --- Only build tested. Part of a tree-wide move to deprecate i2c_new_dummy(). drivers/mfd/tps80031.c | 2