summaryrefslogtreecommitdiff
path: root/drivers/rtc/interface.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2021-01-14 11:22:18 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2021-01-16 23:19:12 +0100
commit7db7ad0817fe7d3c6fcbd9402deb7509b2851f06 (patch)
treed7fe3eaea79a0dd4bf70f094940c0e55781f67a1 /drivers/rtc/interface.c
parent1f0cbda3b452b520c5f3794f8f0e410e8bc7386a (diff)
rtc: s5m: use devm_i2c_new_dummy_device()
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 <bgolaszewski@baylibre.com> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20210114102219.23682-3-brgl@bgdev.pl
Diffstat (limited to 'drivers/rtc/interface.c')
0 files changed, 0 insertions, 0 deletions