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
87 if (ret < 0)87 if (ret < 0)
88 return -ENOENT;88 return -ENOENT;
89 89
90 if (!acpi_dev_get_property(adev, "is-rv", ACPI_TYPE_INTEGER, &obj))
91 clk_data->is_rv = obj->integer.value;
92
93 list_for_each_entry(rentry, &resource_list, node) {90 list_for_each_entry(rentry, &resource_list, node) {
94 clk_data->base = devm_ioremap(&adev->dev, rentry->res->start,91 clk_data->base = devm_ioremap(&adev->dev, rentry->res->start,
95 resource_size(rentry->res));92 resource_size(rentry->res));
include/linux/platform_data/clk-fch.h+0−1
@@ -12,7 +12,6 @@ · 11 unmodified lines
12 12
13struct fch_clk_data {13struct fch_clk_data {
14 void __iomem *base;14 void __iomem *base;
15 u32 is_rv;
16};15};
17 16
18#endif /* __CLK_FCH_H */17#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