diff options
| author | 2022-07-29 13:53:02 +0200 | |
|---|---|---|
| committer | 2022-08-25 16:23:52 +0200 | |
| commit | 4b0133533e82af25d6aaf9d0c7b2a5af388feb74 (patch) | |
| tree | 14c563e77703ecc37ee3e9151365540f88899534 /include/linux/platform_data | |
| parent | Merge branch 'platform-drivers-x86-amd-pmf' into pdx86-base (diff) | |
| download | linux-dev-4b0133533e82af25d6aaf9d0c7b2a5af388feb74.tar.xz linux-dev-4b0133533e82af25d6aaf9d0c7b2a5af388feb74.zip | |
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 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
