]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: s35390a: convert to i2c_new_dummy_device
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 22 Jul 2019 17:26:17 +0000 (19:26 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 23 Jul 2019 18:34:31 +0000 (20:34 +0200)
commit11fcdf0da218a375641e1ba3b383575e8384e33e
treeef2b1c88d1a982dd9c63d0473e9cae17774d84e2
parent2b14e3da295d7d5136ce2df67fc78533f00d0558
rtc: s35390a: convert to i2c_new_dummy_device

Move from i2c_new_dummy() to i2c_new_dummy_device(), so we now get an
ERRPTR which we use in error handling.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20190722172618.4061-4-wsa+renesas@sang-engineering.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-s35390a.c