Skip to content

Commit 648bb2b

Browse files
krzkkuba-moo
authored andcommitted
net: microchip: encx24j600: 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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent bd3ce40 commit 648bb2b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/net/ethernet/microchip/encx24j600.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,6 @@ MODULE_DEVICE_TABLE(spi, encx24j600_spi_id_table);
11121112
static struct spi_driver encx24j600_spi_net_driver = {
11131113
.driver = {
11141114
.name = DRV_NAME,
1115-
.owner = THIS_MODULE,
11161115
.bus = &spi_bus_type,
11171116
},
11181117
.probe = encx24j600_spi_probe,

0 commit comments

Comments
 (0)