From: Johan Hovold Date: Thu, 3 Mar 2022 18:00:14 +0000 (+0100) Subject: ARM: OMAP2+: drop hwmod-clock helper comment X-Git-Tag: v5.19-rc1~145^2~10^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df3eb1feeb73f17776e559679eaa986572db0837;p=thirdparty%2Flinux.git ARM: OMAP2+: drop hwmod-clock helper comment Since commit a4f6cdb0672f ("ARM: OMAP: omap_device: Add omap_device_[alloc|delete] for DT integration"), _add_hwmod_clocks_clkdev() is called from omap_device_alloc(). Drop the outdated comment referring to how this function was used ten odd years ago. Signed-off-by: Johan Hovold Message-Id: <20220303180014.2639-3-johan@kernel.org> Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/omap_device.c b/arch/arm/mach-omap2/omap_device.c index 3cfa7b01a24bd..8b3701901991e 100644 --- a/arch/arm/mach-omap2/omap_device.c +++ b/arch/arm/mach-omap2/omap_device.c @@ -96,9 +96,6 @@ static void _add_clkdev(struct omap_device *od, const char *clk_alias, * omap_device, this function adds an entry in the clkdev table of the * form if it does not exist already. * - * The function is called from inside omap_device_build_ss(), after - * omap_device_register. - * * This allows drivers to get a pointer to its optional clocks based on its role * by calling clk_get(, ). * In the case of the main clock, a "fck" alias is used.