Re: [PATCH] Input: atmel_mxt_ts - use driver core to instantiate device attributes

From: Greg KH
Date: Thu Jul 11 2024 - 03:44:25 EST


On Wed, Jul 10, 2024 at 09:49:12PM -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.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>

Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>