Loading drivers/cpuidle/sysfs.c +0 −5 Original line number Diff line number Diff line Loading @@ -167,11 +167,6 @@ struct cpuidle_attr { ssize_t (*store)(struct cpuidle_device *, const char *, size_t count); }; #define define_one_ro(_name, show) \ static struct cpuidle_attr attr_##_name = __ATTR(_name, 0444, show, NULL) #define define_one_rw(_name, show, store) \ static struct cpuidle_attr attr_##_name = __ATTR(_name, 0644, show, store) #define attr_to_cpuidleattr(a) container_of(a, struct cpuidle_attr, attr) struct cpuidle_device_kobj { Loading Loading
drivers/cpuidle/sysfs.c +0 −5 Original line number Diff line number Diff line Loading @@ -167,11 +167,6 @@ struct cpuidle_attr { ssize_t (*store)(struct cpuidle_device *, const char *, size_t count); }; #define define_one_ro(_name, show) \ static struct cpuidle_attr attr_##_name = __ATTR(_name, 0444, show, NULL) #define define_one_rw(_name, show, store) \ static struct cpuidle_attr attr_##_name = __ATTR(_name, 0644, show, store) #define attr_to_cpuidleattr(a) container_of(a, struct cpuidle_attr, attr) struct cpuidle_device_kobj { Loading