lkml.org 
[lkml]   [2022]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Input: Remove unneeded NULL check before clk_disable_unprepare
On Mon, May 16, 2022 at 04:55:09PM +0800, Wan Jiabing wrote:
> clk_disable_unprepare() already checks NULL by using IS_ERR_OR_NULL.
> Remove unneeded NULL check for kp->clk.
>
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>

Applied, thank you.

--
Dmitry

\
 
 \ /
  Last update: 2022-05-18 06:50    [W:0.053 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site