Re: [PATCH v2 1/2] rtc: max77686: 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:23+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-max77686.c | 17 ++++-------------
> 1 file changed, 4 insertions(+), 13 deletions(-)
>
Applied, thanks.

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