Messages in this thread | | | Date | Sat, 3 Sep 2022 07:51:57 +0200 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH 1/3] Input: atkbd - switch to using dev_groups for driver-specific attributes |
| |
On Fri, Sep 02, 2022 at 10:11:17PM -0700, Dmitry Torokhov wrote: > The driver core now has the ability to handle the creation and removal > of device-specific sysfs files, let's use it instead of registering and > unregistering attributes by hand. > > Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> > --- > drivers/input/keyboard/atkbd.c | 16 ++++++---------- > 1 file changed, 6 insertions(+), 10 deletions(-)
Wow, I had missed these in my searches as I didn't think any drivers would be using sysfs_create_groups(), thanks for noticing them and cleaning these up.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| |