Skip to content

Commit da85a85

Browse files
committed
Merge back sysfs-related ACPI material for v5.9.
2 parents 5ae318f + e6d701d commit da85a85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/acpi/sysfs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -938,13 +938,13 @@ static void __exit interrupt_stats_exit(void)
938938
}
939939

940940
static ssize_t
941-
acpi_show_profile(struct device *dev, struct device_attribute *attr,
941+
acpi_show_profile(struct kobject *kobj, struct kobj_attribute *attr,
942942
char *buf)
943943
{
944944
return sprintf(buf, "%d\n", acpi_gbl_FADT.preferred_profile);
945945
}
946946

947-
static const struct device_attribute pm_profile_attr =
947+
static const struct kobj_attribute pm_profile_attr =
948948
__ATTR(pm_profile, S_IRUGO, acpi_show_profile, NULL);
949949

950950
static ssize_t hotplug_enabled_show(struct kobject *kobj,

0 commit comments

Comments
 (0)