Skip to content

Commit

Permalink
backlight: otm3225a: Drop driver owner assignment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Krzysztof Kozlowski authored and Lee Jones committed May 10, 2024
1 parent b303ab7 commit 89c26f9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/video/backlight/otm3225a.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit 89c26f9

Please sign in to comment.