diff options
author | Mark Pearson <markpearson@lenovo.com> | 2021-07-17 16:36:05 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-07-17 16:39:55 +0200 |
commit | e62fb1e3faae60f483a96c359c8d72bb04a7b728 (patch) | |
tree | 98d1d0bb63bac46a58a98052427674998e004abd /lib/mpi/mpi-sub-ui.c | |
parent | 7f5231b114da76bfd5d0fc685d5cf408d1bbfca7 (diff) | |
download | linux-stable-e62fb1e3faae60f483a96c359c8d72bb04a7b728.tar.gz linux-stable-e62fb1e3faae60f483a96c359c8d72bb04a7b728.tar.bz2 linux-stable-e62fb1e3faae60f483a96c359c8d72bb04a7b728.zip |
platform/x86: think-lmi: Move pending_reboot_attr to the attributes sysfs dir
Move the pending_reboot node under attributes dir where it should live, as
documented in: Documentation/ABI/testing/sysfs-class-firmware-attributes.
Also move the create / remove code to be together with the other code
populating / cleaning the attributes sysfs dir. In the removal path this
is necessary so that the remove is done before the
kset_unregister(tlmi_priv.attribute_kset) call.
Signed-off-by: Mark Pearson <markpearson@lenovo.com>
Co-developed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210717143607.3580-1-hdegoede@redhat.com
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions