[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZgpyZldW+TTCbCcH@yilunxu-OptiPlex-7050>
Date: Mon, 1 Apr 2024 16:37:58 +0800
From: Xu Yilun <yilun.xu@...ux.intel.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Cc: Moritz Fischer <mdf@...nel.org>, Wu Hao <hao.wu@...el.com>,
Xu Yilun <yilun.xu@...el.com>, Tom Rix <trix@...hat.com>,
linux-fpga@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fpga: altera: drop driver owner assignment
On Wed, Mar 27, 2024 at 06:49:09PM +0100, Krzysztof Kozlowski wrote:
> Core in spi_register_driver() already sets the .owner, so driver
> does not need to.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Acked-by: Xu Yilun <yilun.xu@...el.com>
Applied to for-next.
> ---
> drivers/fpga/altera-ps-spi.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/fpga/altera-ps-spi.c b/drivers/fpga/altera-ps-spi.c
> index 740980e7cef8..d0ec3539b31f 100644
> --- a/drivers/fpga/altera-ps-spi.c
> +++ b/drivers/fpga/altera-ps-spi.c
> @@ -284,7 +284,6 @@ MODULE_DEVICE_TABLE(spi, altera_ps_spi_ids);
> static struct spi_driver altera_ps_driver = {
> .driver = {
> .name = "altera-ps-spi",
> - .owner = THIS_MODULE,
> .of_match_table = of_ef_match,
> },
> .id_table = altera_ps_spi_ids,
> --
> 2.34.1
>
>
Powered by blists - more mailing lists