diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-03-01 00:39:32 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-03-03 20:34:45 +0100 |
commit | e8a62f363661d824495737427d59ba3fce91ae34 (patch) | |
tree | fa2959eb27ac7edaf6e24e0ab44834f51cd3936b | |
parent | d72f06cee0d5cad0056967f0edc2c23b984238ba (diff) | |
download | linux-e8a62f363661d824495737427d59ba3fce91ae34.tar.gz linux-e8a62f363661d824495737427d59ba3fce91ae34.tar.bz2 linux-e8a62f363661d824495737427d59ba3fce91ae34.zip |
ACPI: docs: enumeration: Remove redundant .owner assignment
The owner member of the struct i2c_driver is assigned by a corresponding macro.
No need to assign it explicitly.
Fixes: 59c3987805a9 ("ACPI: add documentation about ACPI 5 enumeration")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | Documentation/firmware-guide/acpi/enumeration.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/firmware-guide/acpi/enumeration.rst b/Documentation/firmware-guide/acpi/enumeration.rst index 799ca240e612..900d193ffa5e 100644 --- a/Documentation/firmware-guide/acpi/enumeration.rst +++ b/Documentation/firmware-guide/acpi/enumeration.rst @@ -243,7 +243,6 @@ input driver:: static struct i2c_driver mpu3050_i2c_driver = { .driver = { .name = "mpu3050", - .owner = THIS_MODULE, .pm = &mpu3050_pm, .of_match_table = mpu3050_of_match, .acpi_match_table = ACPI_PTR(mpu3050_acpi_match), @@ -252,6 +251,7 @@ input driver:: .remove = mpu3050_remove, .id_table = mpu3050_ids, }; + module_i2c_driver(mpu3050_i2c_driver); Reference to PWM device ======================= |