backlight: otm3225a: Drop driver owner assignment
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 27 Mar 2024 17:47:14 +0000 (18:47 +0100)
committerLee Jones <lee@kernel.org>
Fri, 10 May 2024 14:44:29 +0000 (15:44 +0100)
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>
drivers/video/backlight/otm3225a.c

index d7b09c10f908c2020807d6a7cf6ce9ca3b15590c..efe52fa08b07bb79f8147bb4b6f03b4b8cabd68c 100644 (file)
@@ -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,
 };