[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e351fdfac414f398fd0c2f6bfaba46be.sboyd@kernel.org>
Date: Tue, 28 Mar 2023 19:35:24 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Michael Turquette <mturquette@...libre.com>,
Michal Simek <michal.simek@...inx.com>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
Cc: linux-clk@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 03/30] clk: xilinx: Drop if block with always false condition
Quoting Uwe Kleine-König (2023-03-12 09:14:45)
> xvcu_remove() is only called for a device after after xvcu_probe()
> completed successfully. In that case dev_set_drvdata() was called for
> that device with a non-NULL parameter, so platform_get_drvdata() won't
> return NULL and the if condition is never true.
>
> Drop the if, preparing a conversion to make platform driver's remove
> callback return void.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
> ---
Applied to clk-next
Powered by blists - more mailing lists