clk: ti: Replace kstrdup() + strreplace() with kstrdup_and_replace()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 4 Aug 2023 14:39:10 +0000 (17:39 +0300)
committerStephen Boyd <sboyd@kernel.org>
Sat, 5 Aug 2023 01:21:51 +0000 (18:21 -0700)
commitbb362d0e91e198a9b71e2c60611999734f358067
treeee8d3c151f9d46cdcac2d4fe28c3c406f4bde03f
parent28df1500f53874e310d55b64dfbdfde286953ebc
clk: ti: Replace kstrdup() + strreplace() with kstrdup_and_replace()

Replace open coded functionality of kstrdup_and_replace() with a call.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230804143910.15504-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/ti/clk.c
drivers/clk/ti/clkctrl.c