Skip to content

Commit 89c26f9

Browse files
krzklag-linaro
authored andcommitted
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 <krzysztof.kozlowski@linaro.org> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Link: https://lore.kernel.org/r/20240327174714.519577-1-krzysztof.kozlowski@linaro.org Signed-off-by: Lee Jones <lee@kernel.org>
1 parent b303ab7 commit 89c26f9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/video/backlight/otm3225a.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@ static int otm3225a_probe(struct spi_device *spi)
239239
static struct spi_driver otm3225a_driver = {
240240
.driver = {
241241
.name = "otm3225a",
242-
.owner = THIS_MODULE,
243242
},
244243
.probe = otm3225a_probe,
245244
};

0 commit comments

Comments
 (0)