Skip to content

Commit 62d2234

Browse files
guohanjunrafaeljw
authored andcommitted
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>
1 parent ad4a0f2 commit 62d2234

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

drivers/acpi/acpi_apd.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,8 @@
2222
ACPI_MODULE_NAME("acpi_apd");
2323
struct apd_private_data;
2424

25-
/**
26-
* ACPI_APD_SYSFS : add device attributes in sysfs
27-
* ACPI_APD_PM : attach power domain to device
28-
*/
29-
#define ACPI_APD_SYSFS BIT(0)
30-
#define ACPI_APD_PM BIT(1)
31-
3225
/**
3326
* struct apd_device_desc - a descriptor for apd device
34-
* @flags: device flags like %ACPI_APD_SYSFS, %ACPI_APD_PM
3527
* @fixed_clk_rate: fixed rate input clock source for acpi device;
3628
* 0 means no fixed rate input clock source
3729
* @properties: build-in properties of the device such as UART
@@ -40,7 +32,6 @@ struct apd_private_data;
4032
* Device description defined as acpi_device_id.driver_data
4133
*/
4234
struct apd_device_desc {
43-
unsigned int flags;
4435
unsigned int fixed_clk_rate;
4536
struct property_entry *properties;
4637
int (*setup)(struct apd_private_data *pdata);

0 commit comments

Comments
 (0)