]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: class separate id allocation from registration
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 6 Jul 2017 09:41:59 +0000 (11:41 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 7 Jul 2017 11:14:08 +0000 (13:14 +0200)
commit971594d0539b0c4af98101350c9dc95ad823ef59
treefa24a82fdbb2d7367ee6acc3c9318f903785c85b
parent75cc466838e47087a19fda8d8bac0706bbee4aaa
rtc: class separate id allocation from registration

Create rtc_device_get_id to allocate the id for an RTC.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/class.c