+29
−63
Loading
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBNZ64 CVE: NA -------------------------------- The filter sysfs attribute is initialized when register to the sysfs. This is unnecessary and could be done when allocation without distinguish the filter type. After the changes above, we don't need a wrapper for initializing and registering the filter's sysfs attributes. Remove them and call the sysfs creating/removing functions in place. Fixes: 6373c463 ("hwtracing: hisi_ptt: Export available filters through sysfs") Signed-off-by:Yicong Yang <yangyicong@hisilicon.com> Signed-off-by:
lujunhua <lujunhua7@h-partners.com>