* [PATCH] fpga: altera: drop driver owner assignment
@ 2024-03-27 17:49 Krzysztof Kozlowski
2024-04-01 8:37 ` Xu Yilun
0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-27 17:49 UTC (permalink / raw
To: Moritz Fischer, Wu Hao, Xu Yilun, Tom Rix, linux-fpga,
linux-kernel
Cc: Krzysztof Kozlowski
Core in spi_register_driver() already sets the .owner, so driver
does not need to.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] fpga: altera: drop driver owner assignment
2024-03-27 17:49 [PATCH] fpga: altera: drop driver owner assignment Krzysztof Kozlowski
@ 2024-04-01 8:37 ` Xu Yilun
0 siblings, 0 replies; 2+ messages in thread
From: Xu Yilun @ 2024-04-01 8:37 UTC (permalink / raw
To: Krzysztof Kozlowski
Cc: Moritz Fischer, Wu Hao, Xu Yilun, Tom Rix, linux-fpga,
linux-kernel
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@linaro.org>
Acked-by: Xu Yilun <yilun.xu@intel.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
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-01 8:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-27 17:49 [PATCH] fpga: altera: drop driver owner assignment Krzysztof Kozlowski
2024-04-01 8:37 ` Xu Yilun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).