Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <AjitKumar.Pandey@amd.com>
Reviewed-by: Mario Limonciello <Mario.Limonciello@amd.com>
Link: https://lore.kernel.org/r/20211212180527.1641362-3-AjitKumar.Pandey@amd.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Ajit Kumar Pandey and committed by
Stephen Boyd
3663f26b 65ab884a

-4
-3
drivers/acpi/acpi_apd.c
··· 87 87 if (ret < 0) 88 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 90 list_for_each_entry(rentry, &resource_list, node) { 94 91 clk_data->base = devm_ioremap(&adev->dev, rentry->res->start, 95 92 resource_size(rentry->res));
-1
include/linux/platform_data/clk-fch.h
··· 12 12 13 13 struct fch_clk_data { 14 14 void __iomem *base; 15 - u32 is_rv; 16 15 }; 17 16 18 17 #endif /* __CLK_FCH_H */