[PATCH] staging: pi433: drop driver owner assignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Core in spi_register_driver() already sets the .owner, so driver
does not need to.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
---
 drivers/staging/pi433/pi433_if.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c
index b6c4917d515e..c6498f518e91 100644
--- a/drivers/staging/pi433/pi433_if.c
+++ b/drivers/staging/pi433/pi433_if.c
@@ -1366,7 +1366,6 @@ MODULE_DEVICE_TABLE(of, pi433_dt_ids);
 static struct spi_driver pi433_spi_driver = {
 	.driver = {
 		.name =		"pi433",
-		.owner =	THIS_MODULE,
 		.of_match_table = of_match_ptr(pi433_dt_ids),
 	},
 	.probe =	pi433_probe,
-- 
2.34.1





[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux