diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-07-29 16:03:46 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2022-07-30 22:56:58 +0200 |
commit | a01633cd867b8ddf2d8321fe575dc3c54e037b09 (patch) | |
tree | ac5fc3214512a18314c6ef7d373633bb80d26566 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 92cfc71ee2ddfb499ed53e21b28bdf8739bc70bc (diff) |
leds: turris-omnia: 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: Pavel Machek <pavel@ucw.cz>
Cc: linux-leds@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Reviewed-by: Marek BehĂșn <kabel@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions