Thread (9 messages) 9 messages, 2 authors, 2021-01-11

Re: [PATCH v4 3/3] rtc: s5m: use devm_i2c_new_dummy_device()

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2021-01-11 13:37:50
Also in: linux-samsung-soc, lkml

On Mon, Jan 11, 2021 at 01:40:27PM +0100, Bartosz Golaszewski wrote:
From: Bartosz Golaszewski <redacted>

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 <redacted>
---
 drivers/rtc/rtc-s5m.c | 31 +++++++------------------------
 1 file changed, 7 insertions(+), 24 deletions(-)
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help