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)
commit09cd030b54466bc7024977bdab9636a597f63c55
tree2b39713f581384455178564bf04c32fcadfbd57f
parentbac68b30d5375fccd42ffcb96d6ab13b51509608
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