diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c index 5a1de9078ae6..34ee17019895 100644 --- a/drivers/rtc/class.c +++ b/drivers/rtc/class.c @@ -344,7 +344,6 @@ static void devm_rtc_unregister_device(void *data) cdev_device_del(&rtc->char_dev, &rtc->dev); rtc->ops = NULL; mutex_unlock(&rtc->ops_lock); - put_device(&rtc->dev); } static void devm_rtc_release_device(void *res)