clk: tegra: Replace kstrdup() + strreplace() with kstrdup_and_replace()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 4 Aug 2023 14:39:09 +0000 (17:39 +0300)
committerStephen Boyd <sboyd@kernel.org>
Sat, 5 Aug 2023 01:21:50 +0000 (18:21 -0700)
commit28df1500f53874e310d55b64dfbdfde286953ebc
tree60512e1a6c7f80a2657e3ed7f31c10583c92d490
parent7f146b24297bf58c19f916aee530155c830c5598
clk: tegra: 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-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/tegra/clk.c