diff options
author | 2021-07-17 16:36:05 +0200 | |
---|---|---|
committer | 2021-07-17 16:39:55 +0200 | |
commit | e62fb1e3faae60f483a96c359c8d72bb04a7b728 (patch) | |
tree | 98d1d0bb63bac46a58a98052427674998e004abd /net/unix/af_unix.c | |
parent | platform/x86: amd-pmc: Fix undefined reference to __udivdi3 (diff) | |
download | wireguard-linux-e62fb1e3faae60f483a96c359c8d72bb04a7b728.tar.xz wireguard-linux-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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions