diff options
author | Hanjun Guo <guohanjun@huawei.com> | 2020-09-07 15:57:30 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-09-25 13:48:10 +0300 |
commit | 62d2234d333a89557cd398472dcf9d00ae624a8d (patch) | |
tree | 3ae18b28b2856f61cca8cb6ae989e12fb8fddb9a /drivers/acpi | |
parent | ad4a0f240882135bcedc207bb52e098029e5fbc7 (diff) | |
download | linux-62d2234d333a89557cd398472dcf9d00ae624a8d.tar.xz |
ACPI: APD: Remove flags from struct apd_device_desc
The flags field is not used in anywhere, so remove it along with two
symbols related to it.
Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/acpi_apd.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/acpi/acpi_apd.c b/drivers/acpi/acpi_apd.c index 2a3db9956229..b0d17523b628 100644 --- a/drivers/acpi/acpi_apd.c +++ b/drivers/acpi/acpi_apd.c @@ -23,15 +23,7 @@ ACPI_MODULE_NAME("acpi_apd"); struct apd_private_data; /** - * ACPI_APD_SYSFS : add device attributes in sysfs - * ACPI_APD_PM : attach power domain to device - */ -#define ACPI_APD_SYSFS BIT(0) -#define ACPI_APD_PM BIT(1) - -/** * struct apd_device_desc - a descriptor for apd device - * @flags: device flags like %ACPI_APD_SYSFS, %ACPI_APD_PM * @fixed_clk_rate: fixed rate input clock source for acpi device; * 0 means no fixed rate input clock source * @properties: build-in properties of the device such as UART @@ -40,7 +32,6 @@ struct apd_private_data; * Device description defined as acpi_device_id.driver_data */ struct apd_device_desc { - unsigned int flags; unsigned int fixed_clk_rate; struct property_entry *properties; int (*setup)(struct apd_private_data *pdata); |