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.
Unified · Split
| @@ -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)); |
| @@ -12,7 +12,6 @@ · 11 unmodified lines | |||
| 12 | 12 | ||
| 13 | struct fch_clk_data { | 13 | struct 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 */ |