[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5e277ecf.1c69fb81.e60bd.1a96@mx.google.com>
Date: Tue, 21 Jan 2020 14:44:30 -0800
From: Stephen Boyd <swboyd@...omium.org>
To: John Stultz <john.stultz@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>
Cc: linux-kernel@...r.kernel.org, Stephen Boyd <sboyd@...nel.org>,
Douglas Anderson <dianders@...omium.org>
Subject: Re: [PATCH v2 1/3] alarmtimer: Make alarmtimer platform device child of RTC device
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;
Powered by blists - more mailing lists