]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commitb91336df8ac2f5d15a2132074ba596580526db1d
treefa24a82fdbb2d7367ee6acc3c9318f903785c85b
parentd1bec20facd6eae17cb2f39ebbf443c95c650490
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