Merge tag 'driver-core-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-block.git] / drivers / perf / hisilicon / hisi_uncore_pmu.h
index 92402aa69d70f5103f41c278d3e3515f14b8e752..25b2d43b72bf91b1be7bbf12b1705e36af498e6e 100644 (file)
@@ -33,7 +33,7 @@
        })[0].attr.attr)
 
 #define HISI_PMU_FORMAT_ATTR(_name, _config)           \
-       HISI_PMU_ATTR(_name, hisi_format_sysfs_show, (void *)_config)
+       HISI_PMU_ATTR(_name, device_show_string, _config)
 #define HISI_PMU_EVENT_ATTR(_name, _config)            \
        HISI_PMU_ATTR(_name, hisi_event_sysfs_show, (unsigned long)_config)
 
@@ -122,8 +122,6 @@ void hisi_uncore_pmu_enable(struct pmu *pmu);
 void hisi_uncore_pmu_disable(struct pmu *pmu);
 ssize_t hisi_event_sysfs_show(struct device *dev,
                              struct device_attribute *attr, char *buf);
-ssize_t hisi_format_sysfs_show(struct device *dev,
-                              struct device_attribute *attr, char *buf);
 ssize_t hisi_cpumask_sysfs_show(struct device *dev,
                                struct device_attribute *attr, char *buf);
 int hisi_uncore_pmu_online_cpu(unsigned int cpu, struct hlist_node *node);