clk: x86: Use dynamic con_id string during clk registration
authorAjit Kumar Pandey <AjitKumar.Pandey@amd.com>
Sun, 12 Dec 2021 18:05:26 +0000 (23:35 +0530)
committerStephen Boyd <sboyd@kernel.org>
Fri, 7 Jan 2022 01:57:52 +0000 (17:57 -0800)
commitc33917b439e0cd24182e40726e18104f66d48933
tree69e292cfa8e2c5918dbc6265ba47852a00b98003
parent7fdb98e8a768b3ccc05494d3ea4436047f512b9d
clk: x86: Use dynamic con_id string during clk registration

Replace hard coded con_id string with fch_data->name. We have clk
consumers looking up with different clock names, hence use dynamic
con_id string during clk lookup registration. fch_data->name will
be initialized in acpi driver based on fmw property value.

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-5-AjitKumar.Pandey@amd.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/x86/clk-fch.c