diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-02-13 17:27:41 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-03-06 22:07:39 +0100 |
commit | 9bea6216f94bb711267e01f6ff8b07e3ff1e22d6 (patch) | |
tree | 0115b395e57313ffd72406b3383cb9fac267b417 /drivers/hwmon/it87.c | |
parent | list: leverage list_is_head() for list_entry_is_head() (diff) | |
download | linux-9bea6216f94bb711267e01f6ff8b07e3ff1e22d6.tar.xz linux-9bea6216f94bb711267e01f6ff8b07e3ff1e22d6.zip |
dyndbg: replace kstrdup() + strchr() with kstrdup_and_replace()
Replace open coded functionalify of kstrdup_and_replace() with a call.
Link: https://lkml.kernel.org/r/20240213162741.3102810-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Cc: Jason Baron <jbaron@akamai.com>
Cc: Jim Cromie <jim.cromie@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon/it87.c')
0 files changed, 0 insertions, 0 deletions