aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2024-03-27 18:47:14 +0100
committerLee Jones <[email protected]>2024-05-10 15:44:29 +0100
commit89c26f9ad3c578c093d57ff249838d848ae4ac61 (patch)
treed14d4a3703a45ce392c12566e12e140dc649deae
parentb303ab78f8b76f3322632912f539f557c552a1bd (diff)
backlight: otm3225a: 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]> Reviewed-by: Daniel Thompson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
-rw-r--r--drivers/video/backlight/otm3225a.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/backlight/otm3225a.c b/drivers/video/backlight/otm3225a.c
index d7b09c10f908..efe52fa08b07 100644
--- a/drivers/video/backlight/otm3225a.c
+++ b/drivers/video/backlight/otm3225a.c
@@ -239,7 +239,6 @@ static int otm3225a_probe(struct spi_device *spi)
static struct spi_driver otm3225a_driver = {
.driver = {
.name = "otm3225a",
- .owner = THIS_MODULE,
},
.probe = otm3225a_probe,
};