From: Andy Shevchenko Date: Wed, 24 Aug 2022 15:21:15 +0000 (+0300) Subject: platform/x86: intel_cht_int33fe: Fix comment according to the code flow X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f81fead027ecbb525c29d681eb95a222e76306a3;p=linux.git platform/x86: intel_cht_int33fe: Fix comment according to the code flow We don't use software_node_register_nodes() in the code, fix the comment. Fixes: 140355e5db8b ("platform/x86: intel_cht_int33fe: Convert software node array to group") Signed-off-by: Andy Shevchenko Link: https://lore.kernel.org/r/20220824152115.88012-1-andriy.shevchenko@linux.intel.com Signed-off-by: Hans de Goede --- diff --git a/drivers/platform/x86/intel/chtwc_int33fe.c b/drivers/platform/x86/intel/chtwc_int33fe.c index 1ea989df513cd..2c9a7d52be073 100644 --- a/drivers/platform/x86/intel/chtwc_int33fe.c +++ b/drivers/platform/x86/intel/chtwc_int33fe.c @@ -219,7 +219,7 @@ static int cht_int33fe_add_nodes(struct cht_int33fe_data *data) /* * Update node used in "usb-role-switch" property. Note that we - * rely on software_node_register_nodes() to use the original + * rely on software_node_register_node_group() to use the original * instance of properties instead of copying them. */ fusb302_mux_refs[0].node = mux_ref_node;