]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: s35390a: introduce struct device in probe
authorRichard Leitner <richard.leitner@skidata.com>
Thu, 23 May 2019 11:54:50 +0000 (13:54 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 23 May 2019 15:48:02 +0000 (17:48 +0200)
commit0fd45ec49b568633b4e61c87443c04d5228bc2c2
treea91fa4cc9995ad951c04d6369f1248f2d80ccd03
parentb9490cda08cce7ccc837f41a175f881c5021a9b1
rtc: s35390a: introduce struct device in probe

To simplify access and shorten code introduce a struct device pointer in
the s35390a probe function.

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-s35390a.c