]> asedeno.scripts.mit.edu Git - linux.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)
commit0327963440926094731571562f6089bfa5a13610
treea91fa4cc9995ad951c04d6369f1248f2d80ccd03
parentc0e12848be091e8410fb427f080f2e0149123443
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