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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 81c3234 commit c7df39b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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)