summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/pmc_atom.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-29 13:53:02 +0200
committerHans de Goede <hdegoede@redhat.com>2022-08-25 16:23:52 +0200
commit4b0133533e82af25d6aaf9d0c7b2a5af388feb74 (patch)
tree14c563e77703ecc37ee3e9151365540f88899534 /drivers/platform/x86/pmc_atom.c
parentd5a4dfc3cf30faa9d0b0333e58900ddd80ddd745 (diff)
platform/x86: dell-privacy: convert to use dev_groups
The driver core supports the ability to handle the creation and removal of device-specific sysfs files in a race-free manner. Take advantage of that by converting this driver to use this by moving the sysfs attributes into a group and assigning the dev_groups pointer to it. Cc: Perry Yuan <Perry.Yuan@dell.com> Cc: Hans de Goede <hdegoede@redhat.com> Cc: Mark Gross <markgross@kernel.org> Cc: Dell.Client.Kernel@dell.com Cc: platform-driver-x86@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20220729115302.2258296-1-gregkh@linuxfoundation.org Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/pmc_atom.c')
0 files changed, 0 insertions, 0 deletions