Re: [PATCH v2 2/2] rtc: s35390a: convert to devm_i2c_new_dummy_device()

2019-09-01 Thread Alexandre Belloni
On 30/08/2019 15:31:24+0200, Wolfram Sang wrote: > I was about to simplify the call to i2c_unregister_device() when I > realized that converting to devm_i2c_new_dummy_device() will simplify > the driver a lot. So I took this approach. > > Signed-off-by: Wolfram Sang > --- >

[PATCH v2 2/2] rtc: s35390a: convert to devm_i2c_new_dummy_device()

2019-08-30 Thread Wolfram Sang
I was about to simplify the call to i2c_unregister_device() when I realized that converting to devm_i2c_new_dummy_device() will simplify the driver a lot. So I took this approach. Signed-off-by: Wolfram Sang --- drivers/rtc/rtc-s35390a.c | 54 ++- 1 file