aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/timer-of.c
diff options
context:
space:
mode:
authorAlexandre Belloni <[email protected]>2017-08-20 22:01:46 +0000
committerThomas Gleixner <[email protected]>2017-08-31 19:36:45 +0000
commit51218298a25e6942957c5595f2abf130d47d5df9 (patch)
tree235c2bc0f868679108179df74bb2b660719bda87 /drivers/clocksource/timer-of.c
parentMerge branch 'clockevents/4.14' of http://git.linaro.org/people/daniel.lezcan... (diff)
downloadkernel-51218298a25e6942957c5595f2abf130d47d5df9.tar.gz
kernel-51218298a25e6942957c5595f2abf130d47d5df9.zip
alarmtimer: Ensure RTC module is not unloaded
When registering the rtc device to be used to handle alarm timers, get_device is used to ensure the device doesn't go away but the module can still be unloaded. Call try_module_get to ensure the rtc driver will not go away. Reported-and-tested-by: Michal Simek <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: John Stultz <[email protected]> Cc: Stephen Boyd <[email protected]> Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/clocksource/timer-of.c')
0 files changed, 0 insertions, 0 deletions