]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: ep93xx: use rtc_add_group
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 19 Apr 2019 08:00:00 +0000 (10:00 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 19 Apr 2019 20:37:16 +0000 (22:37 +0200)
commit223ac983316470f5e3f673c57ef3103b5b97408a
tree2b39713f581384455178564bf04c32fcadfbd57f
parent47772409770de0b6b285f3c8f972c0ccd077bb11
rtc: ep93xx: use rtc_add_group

Use rtc_add_group to add the sysfs group in a race free manner.
This has the side effect of moving the files to their proper location.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-ep93xx.c