]> 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)
commit7534286792531519976105c0a42638273230905c
tree8387445b5ba9ab8659c52bcada84552aa4647df2
parent8324fd2384891db84fbb4a359cdce834461865ce
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