Skip to content

Commit e93af72

Browse files
krzkkuba-moo
authored andcommitted
nfc: st95hf: 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 e3c95d5 commit e93af72

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/nfc/st95hf/core.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,6 @@ static void st95hf_remove(struct spi_device *nfc_spi_dev)
12371237
static struct spi_driver st95hf_driver = {
12381238
.driver = {
12391239
.name = "st95hf",
1240-
.owner = THIS_MODULE,
12411240
.of_match_table = of_match_ptr(st95hf_spi_of_match),
12421241
},
12431242
.id_table = st95hf_id,

0 commit comments

Comments
 (0)