HISI_PTT_PMU_NAME
if (strstr(dent->d_name, HISI_PTT_PMU_NAME))
if (strstr(dent->d_name, HISI_PTT_PMU_NAME) && idx < *nr_ptts) {
} else if (strstarts(pmu->name, HISI_PTT_PMU_NAME)) {
pr_err("There may be only one " HISI_PTT_PMU_NAME "x event\n");