aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2024-03-27 18:49:09 +0100
committerXu Yilun <[email protected]>2024-04-01 16:39:57 +0800
commita97fc99a02c767f5970b75ce40fedd2a0843f323 (patch)
tree0aee111f34e4a484d053a9c1cabe0e9213b3df55
parent4a1f12b5b50dd7d8ad681be701b2b00521c9d201 (diff)
fpga: altera: drop driver owner assignment
Core in spi_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Xu Yilun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Xu Yilun <[email protected]>
-rw-r--r--drivers/fpga/altera-ps-spi.c1
1 files changed, 0 insertions, 1 deletions
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,