kstrdup_and_replace
s = kstrdup_and_replace(dev_name(dev), '!', '/', GFP_KERNEL);
node_name = kstrdup_and_replace(hw->init->name, '_', '-', GFP_KERNEL);
tmp = kstrdup_and_replace(name, '-', '_', GFP_KERNEL);
name = kstrdup_and_replace(end, '-', '_', GFP_KERNEL);
new = kstrdup_and_replace(orig, '/', ':', GFP_KERNEL);
evt_name = kstrdup_and_replace(buf, '\n', '\0', GFP_KERNEL);
new_setting = kstrdup_and_replace(buf, '\n', '\0', GFP_KERNEL);
new_setting = kstrdup_and_replace(buf, '\n', '\0', GFP_KERNEL);
new_pwd = kstrdup_and_replace(buf, '\n', '\0', GFP_KERNEL);
passwd = kstrdup_and_replace(buf, '\n', '\0', GFP_KERNEL);
new_cert = kstrdup_and_replace(buf, '\n', '\0', GFP_KERNEL);
new_signature = kstrdup_and_replace(buf, '\n', '\0', GFP_KERNEL);
new_signature = kstrdup_and_replace(buf, '\n', '\0', GFP_KERNEL);
char *kstrdup_and_replace(const char *src, char old, char new, gfp_t gfp);
cl_str = tmp = kstrdup_and_replace(instr, '\n', '\0', GFP_KERNEL);
EXPORT_SYMBOL_GPL(kstrdup_and_replace);