Skip to content

Commit c7df39b

Browse files
krzkdtor
authored andcommitted
Input: stmpe - drop driver owner assignment
Core in platform_driver_register() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240327174655.519503-1-krzysztof.kozlowski@linaro.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 81c3234 commit c7df39b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/input/keyboard/stmpe-keypad.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,6 @@ static void stmpe_keypad_remove(struct platform_device *pdev)
413413

414414
static struct platform_driver stmpe_keypad_driver = {
415415
.driver.name = "stmpe-keypad",
416-
.driver.owner = THIS_MODULE,
417416
.probe = stmpe_keypad_probe,
418417
.remove_new = stmpe_keypad_remove,
419418
};

0 commit comments

Comments
 (0)