projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a1f12b
)
fpga: altera: drop driver owner assignment
author
Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org>
Wed, 27 Mar 2024 17:49:09 +0000
(18:49 +0100)
committer
Xu Yilun
<yilun.xu@linux.intel.com>
Mon, 1 Apr 2024 08:39:57 +0000
(16:39 +0800)
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>
Link:
https://lore.kernel.org/r/20240327174909.519796-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
drivers/fpga/altera-ps-spi.c
patch
|
blob
|
history
diff --git
a/drivers/fpga/altera-ps-spi.c
b/drivers/fpga/altera-ps-spi.c
index 740980e7cef8736721f4c5d766b07cf69f3524c3..d0ec3539b31f77c1fede997286f9fd9fa432fdaf 100644
(file)
--- 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,