]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: ab8500: use rtc_add_group
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 24 Sep 2018 14:49:00 +0000 (16:49 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 28 Sep 2018 12:36:44 +0000 (14:36 +0200)
commite573905db42d8c2484813db73077d7f21bb0e9ad
treec83e6a6d15b3734e430f3d447874be3cc89e2a17
parenta74ee7d5ebe89865a0abe9ac297753675822265b
rtc: ab8500: use rtc_add_group

Use rtc_add_group to add the sysfs group in a race free manner.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-ab8500.c