Skip to content

Commit 6cf2e31

Browse files
krzkJiri Kosina
authored andcommitted
HID: Drop owner assignment from i2c_driver
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Benjamin Tissoires <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 6f1da31 commit 6cf2e31

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/hid/i2c-hid/i2c-hid.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1184,7 +1184,6 @@ MODULE_DEVICE_TABLE(i2c, i2c_hid_id_table);
11841184
static struct i2c_driver i2c_hid_driver = {
11851185
.driver = {
11861186
.name = "i2c_hid",
1187-
.owner = THIS_MODULE,
11881187
.pm = &i2c_hid_pm,
11891188
.acpi_match_table = ACPI_PTR(i2c_hid_acpi_match),
11901189
.of_match_table = of_match_ptr(i2c_hid_of_match),

0 commit comments

Comments
 (0)