On Mon, Jan 11, 2021 at 01:40:27PM +0100, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski <bgolaszew...@baylibre.com> > > Use the managed variant of i2c_new_dummy_device() to shrink code and > remove the goto label. We can drop the remove callback now too. > > Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> > --- > drivers/rtc/rtc-s5m.c | 31 +++++++------------------------ > 1 file changed, 7 insertions(+), 24 deletions(-)
Reviewed-by: Krzysztof Kozlowski <k...@kernel.org> Best regards, Krzysztof