Skip to content
Commit 179eb032 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

alarmtimer: Drop device refcount after rtc_open()



class_find_device() takes a refcount on the rtc device. rtc_open()
takes another one, so we can drop it after the rtc_open() call.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
parent ce788f93
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment