[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2024071121-protrude-garland-f722@gregkh>
Date: Thu, 11 Jul 2024 09:43:25 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: linux-input@...r.kernel.org, Tony Lindgren <tony@...mide.com>,
Linus Walleij <linus.walleij@...aro.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Input: omap-keypad - use driver core to instantiate
device attributes
On Wed, Jul 10, 2024 at 10:03:29PM -0700, Dmitry Torokhov wrote:
> Instead of manually creating driver-specific device attributes
> set struct driver->dev_groups pointer to have the driver core
> do it.
>
> This also fixes issue with the attribute not being deleted on driver
> unbind.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@...il.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Powered by blists - more mailing lists