]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: class separate device allocation from registration
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 6 Jul 2017 09:41:58 +0000 (11:41 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 7 Jul 2017 11:14:06 +0000 (13:14 +0200)
commit75cc466838e47087a19fda8d8bac0706bbee4aaa
tree088d06e722ba1cf5bf8cface608413a8623246da
parent4b08261ad4460d1d04f19a7cd6060555496a8426
rtc: class separate device allocation from registration

Create rtc_allocate_device to allocate memory for a struct rtc_device and
initialize it.

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