Re: [PATCH v4] staging: fbtft: convert sysfs attributes to use ATTRIBUTE_GROUPS

From: Greg KH

Date: Wed May 13 2026 - 03:13:07 EST


On Wed, May 13, 2026 at 06:42:57AM +0000, Harshit Shaw wrote:
> Replace direct device_create_file() calls with the correct
> ATTRIBUTE_GROUPS() macro. Add fbtft_groups as dev_groups in the
> driver structure so the driver core automatically adds and removes
> the sysfs attributes when a device is bound or unbound.
>
> Signed-off-by: Harshit Shaw <shawharshit116@xxxxxxxxx>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>

No, the robot did not report this problem :(