Skip to content

Commit 3663f26

Browse files
ajitkupandeybebarino
authored andcommitted
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. Signed-off-by: Ajit Kumar Pandey <[email protected]> Reviewed-by: Mario Limonciello <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 65ab884 commit 3663f26

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

drivers/acpi/acpi_apd.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,6 @@ static int fch_misc_setup(struct apd_private_data *pdata)
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
struct fch_clk_data {
1414
void __iomem *base;
15-
u32 is_rv;
1615
};
1716

1817
#endif /* __CLK_FCH_H */

0 commit comments

Comments
 (0)