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

From: Alexandre Belloni
Date: Sun Sep 01 2019 - 05:09:56 EST


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 <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/rtc/rtc-s35390a.c | 54 ++++++++++-----------------------------
> 1 file changed, 13 insertions(+), 41 deletions(-)
>
Applied, thanks.

--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com