diff options
author | Andy Shevchenko | 2018-01-09 21:26:58 +0100 |
---|---|---|
committer | Rafael J. Wysocki | 2018-01-11 02:17:41 +0100 |
commit | 0d154fddd658ce7b1f89897c99f7b675a6531423 (patch) | |
tree | 652e18635e4ec28a76c5aa24e72080daf971f3bd /drivers/acpi/pmic/intel_pmic_chtdc_ti.c | |
parent | ACPI / PMIC: constify platform_device_id (diff) | |
download | kernel-qcow2-linux-0d154fddd658ce7b1f89897c99f7b675a6531423.tar.gz kernel-qcow2-linux-0d154fddd658ce7b1f89897c99f7b675a6531423.tar.xz kernel-qcow2-linux-0d154fddd658ce7b1f89897c99f7b675a6531423.zip |
ACPI / PMIC: Convert to use builtin_platform_driver() macro
All of PMIC OpRegion drivers can't be modules, thus, convert them to use
builtin_platform_driver() macro and remove redundant MODULE_*() macros.
No functional change intended.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/pmic/intel_pmic_chtdc_ti.c')
-rw-r--r-- | drivers/acpi/pmic/intel_pmic_chtdc_ti.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/acpi/pmic/intel_pmic_chtdc_ti.c b/drivers/acpi/pmic/intel_pmic_chtdc_ti.c index 109c1e9c9c7a..f6d73a243d80 100644 --- a/drivers/acpi/pmic/intel_pmic_chtdc_ti.c +++ b/drivers/acpi/pmic/intel_pmic_chtdc_ti.c @@ -131,7 +131,4 @@ static struct platform_driver chtdc_ti_pmic_opregion_driver = { }, .id_table = chtdc_ti_pmic_opregion_id_table, }; -module_platform_driver(chtdc_ti_pmic_opregion_driver); - -MODULE_DESCRIPTION("Dollar Cove TI PMIC opregion driver"); -MODULE_LICENSE("GPL v2"); +builtin_platform_driver(chtdc_ti_pmic_opregion_driver); |