[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d5e5d31a-84d0-7521-5a4c-5520797a2744@synopsys.com>
Date: Tue, 8 Dec 2020 07:33:35 +0000
From: Minas Harutyunyan <Minas.Harutyunyan@...opsys.com>
To: Artur Petrosyan <Arthur.Petrosyan@...opsys.com>,
Xu Wang <vulab@...as.ac.cn>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"p.zabel@...gutronix.de" <p.zabel@...gutronix.de>,
"lgirdwood@...il.com" <lgirdwood@...il.com>,
"broonie@...nel.org" <broonie@...nel.org>,
Felipe Balbi <balbi@...nel.org>
CC: "linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] usb: dwc2: Remove redundant null check before
clk_prepare_enable/clk_disable_unprepare
On 12/8/2020 11:29 AM, Artur Petrosyan wrote:
> On 12/4/2020 12:36, Xu Wang wrote:
>> Because clk_prepare_enable() and clk_disable_unprepare() already checked
>> NULL clock parameter, so the additional checks are unnecessary, just
>> remove them.
>>
>> Signed-off-by: Xu Wang <vulab@...as.ac.cn>
>
> Reviewed-by: Artur Petrosyan <Arthur.Petrosyan@...opsys.com>
>
Acked-by: Minas Harutyunyan <Minas.Harutyunyan@...opsys.com>
Powered by blists - more mailing lists