summaryrefslogtreecommitdiff
path: root/drivers/net/mii.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-07-06 12:42:00 +0300
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-07-07 14:14:10 +0300
commit3068a254d5519cd5116f61297462da6d1aa84c20 (patch)
tree996896001b788c362f3de5e63c5ed9141f661754 /drivers/net/mii.c
parentb91336df8ac2f5d15a2132074ba596580526db1d (diff)
downloadlinux-3068a254d5519cd5116f61297462da6d1aa84c20.tar.xz
rtc: introduce new registration method
Introduce rtc_register_device() to register an already allocated and initialized struct rtc_device. It automatically sets up the owner and the two steps allocation/registration will allow to remove race conditions in the IRQ handling of some driver. It also allows to properly extend the core without adding more arguments to rtc_device_register(). Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/net/mii.c')
0 files changed, 0 insertions, 0 deletions