lkml.org 
[lkml]   [2020]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 1/3] alarmtimer: Make alarmtimer platform device child of RTC device
From
Date
Quoting Stephen Boyd (2020-01-21 11:48:09)
> @@ -115,10 +118,14 @@ static int alarmtimer_rtc_add_device(struct device *dev,
> get_device(dev);
> ws = __ws;
> __ws = NULL;
> + pdev = NULL;
> + } else {
> + ret = - 1;

^
Ick. This has an extra space.

> }
> unlock:
> spin_unlock_irqrestore(&rtcdev_lock, flags);
>
> + platform_device_unregister(pdev);
> wakeup_source_unregister(__ws);
>
> return ret;

\
 
 \ /
  Last update: 2020-01-21 23:45    [W:0.067 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site