History

drivers: acpi: acpi_apd: Remove unused device property "is-rv"

Initially "is-rv" device property is added for 48MHz fixed clock support on Raven or RV architecture. It's unused now as we moved to pci device_id based selection to extend such support on other architectures. This change removed unused code from acpi driver.

Ajit Kumar Pandey committed 4 years ago

Commit 3663f261 parent 65ab8842 files · +0 −4Browse files

Unified · Split

2 files
  1. drivers/acpi/acpi_apd.c +0 −3
  2. include/linux/platform_data/clk-fch.h +0 −1
drivers/acpi/acpi_apd.c+0−3
@@ -87,9 +87,6 @@ static int fch_misc_setup(struct apd_private_data *pdata) · 86 unmodified lines
8787 if (ret < 0)
8888 return -ENOENT;
8989
90− if (!acpi_dev_get_property(adev, "is-rv", ACPI_TYPE_INTEGER, &obj))
91− clk_data->is_rv = obj->integer.value;
92−
9390 list_for_each_entry(rentry, &resource_list, node) {
9491 clk_data->base = devm_ioremap(&adev->dev, rentry->res->start,
9592 resource_size(rentry->res));
include/linux/platform_data/clk-fch.h+0−1
@@ -12,7 +12,6 @@ · 11 unmodified lines
1212
1313 struct fch_clk_data {
1414 void __iomem *base;
15− u32 is_rv;
1615 };
1716
1817 #endif /* __CLK_FCH_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t