]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: abx80x: use rtc_add_group
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 6 Mar 2019 09:51:33 +0000 (10:51 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 18 Mar 2019 02:36:01 +0000 (03:36 +0100)
commit438647ad35a069349fa3464544e85ef8804c7c5c
tree8387445b5ba9ab8659c52bcada84552aa4647df2
parent96e0dd598ffdd82f1f35a1d817c3f7800f644d28
rtc: abx80x: 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-abx80x.c