Lines Matching refs:trimmed
724 char *trimmed; in gpio_sim_strdup_trimmed() local
726 trimmed = kstrndup(skip_spaces(str), count, GFP_KERNEL); in gpio_sim_strdup_trimmed()
727 if (!trimmed) in gpio_sim_strdup_trimmed()
730 return strim(trimmed); in gpio_sim_strdup_trimmed()
1118 char *trimmed; in gpio_sim_bank_config_label_store() local
1125 trimmed = gpio_sim_strdup_trimmed(page, count); in gpio_sim_bank_config_label_store()
1126 if (!trimmed) in gpio_sim_bank_config_label_store()
1130 bank->label = trimmed; in gpio_sim_bank_config_label_store()
1199 char *trimmed; in gpio_sim_line_config_name_store() local
1206 trimmed = gpio_sim_strdup_trimmed(page, count); in gpio_sim_line_config_name_store()
1207 if (!trimmed) in gpio_sim_line_config_name_store()
1211 line->name = trimmed; in gpio_sim_line_config_name_store()
1239 char *trimmed; in gpio_sim_hog_config_name_store() local
1246 trimmed = gpio_sim_strdup_trimmed(page, count); in gpio_sim_hog_config_name_store()
1247 if (!trimmed) in gpio_sim_hog_config_name_store()
1251 hog->name = trimmed; in gpio_sim_hog_config_name_store()