Commit fcc6d4ca authored by Srinath Mannam's avatar Srinath Mannam Committed by Eduardo Valentin

thermal: broadcom: Remove ACPI support

Unlike DT framework, thermal-zones and its parameters can't be parsed
using ACPI framework. So that ACPI support is removed in this driver.
Signed-off-by: default avatarSrinath Mannam <srinath.mannam@broadcom.com>
Reported-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent 6ec8070b
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
* Copyright (C) 2018 Broadcom * Copyright (C) 2018 Broadcom
*/ */
#include <linux/acpi.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/of_address.h> #include <linux/of_address.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
...@@ -100,18 +99,11 @@ static const struct of_device_id sr_thermal_of_match[] = { ...@@ -100,18 +99,11 @@ static const struct of_device_id sr_thermal_of_match[] = {
}; };
MODULE_DEVICE_TABLE(of, sr_thermal_of_match); MODULE_DEVICE_TABLE(of, sr_thermal_of_match);
static const struct acpi_device_id sr_thermal_acpi_ids[] = {
{ .id = "BRCM0500" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(acpi, sr_thermal_acpi_ids);
static struct platform_driver sr_thermal_driver = { static struct platform_driver sr_thermal_driver = {
.probe = sr_thermal_probe, .probe = sr_thermal_probe,
.driver = { .driver = {
.name = "sr-thermal", .name = "sr-thermal",
.of_match_table = sr_thermal_of_match, .of_match_table = sr_thermal_of_match,
.acpi_match_table = ACPI_PTR(sr_thermal_acpi_ids),
}, },
}; };
module_platform_driver(sr_thermal_driver); module_platform_driver(sr_thermal_driver);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment