Re: [PATCH 4.9 07/30] video: fbdev: simplefb: Check before clk_put() not needed

From: Greg Kroah-Hartman
Date: Mon Sep 26 2022 - 13:06:17 EST


On Mon, Sep 26, 2022 at 12:29:26PM +0200, Pavel Machek wrote:
> Hi!
>
> > From: Yihao Han <hanyihao@xxxxxxxx>
> >
> > [ Upstream commit 5491424d17bdeb7b7852a59367858251783f8398 ]
> >
> > clk_put() already checks the clk ptr using !clk and IS_ERR()
> > so there is no need to check it again before calling it.
>
> This does not really fix any bug, so I'd preffer not to have it in
> stable.
>

Now dropped, thanks.

greg k-h