Linux kernel staging patches
 help / color / mirror / Atom feed
From: "M.samet Duman" <dumanmehmetsamet@icloud.com>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: Harshit Shaw <shawharshit116@gmail.com>,
	andriy.shevchenko@intel.com, error27@gmail.com, deller@gmx.de,
	chintanlike@gmail.com, tzimmermann@suse.de,
	linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4] staging: fbtft: convert sysfs attributes to use ATTRIBUTE_GROUPS
Date: Wed, 13 May 2026 13:53:27 +0300	[thread overview]
Message-ID: <0A2BDB7E-596B-41F8-9CD6-C5281F5D311F@icloud.com> (raw)
In-Reply-To: <2026051345-calculate-elves-048a@gregkh>

A correction coming so quickly... I've only just started my day, and this is  4th v4.

--
Samet

> 2026. 5. 13. 오후 1:39, Greg KH <gregkh@linuxfoundation.org> 작성:
> 
> On Wed, May 13, 2026 at 08:59:48AM +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@gmail.com>
>> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
>> ---
>> v4: Fix build error - add extern declaration of fbtft_groups in
>>    fbtft.h so all drivers using FBTFT_REGISTER_DRIVER macro can
>>    see the symbol
>> v3: Remove stray blank line in fbtft_attrs[] array
>> v2: - Use DEVICE_ATTR_RW() macro instead of DEVICE_ATTR()
>>    - Move DEVICE_ATTR_RW() definitions closer to their callbacks
>>    - Remove trailing comma after NULL in attribute array
>>    - Use ATTRIBUTE_GROUPS() macro and add dev_groups to driver
>>      structure as suggested by Greg KH and Andy Shevchenko
>>    - Compile tested with: make M=drivers/staging/fbtft modules
> 
> I see too many v4 versions on the list for there really to be just 1 v4
> :(
> 
> Please wait a bit, take some time, and resubmit a new version after a
> few days making sure it's all correct.  There is no rush or deadline
> here.
> 
> thanks,
> 
> greg k-h
> 

  reply	other threads:[~2026-05-13 10:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-13  8:59 [PATCH v4] staging: fbtft: convert sysfs attributes to use ATTRIBUTE_GROUPS Harshit Shaw
2026-05-13 10:37 ` Greg KH
2026-05-13 10:53   ` M.samet Duman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-05-13  6:42 Harshit Shaw
2026-05-13  7:12 ` Greg KH
2026-05-13 11:20 ` Andy Shevchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0A2BDB7E-596B-41F8-9CD6-C5281F5D311F@icloud.com \
    --to=dumanmehmetsamet@icloud.com \
    --cc=andriy.shevchenko@intel.com \
    --cc=chintanlike@gmail.com \
    --cc=deller@gmx.de \
    --cc=error27@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=shawharshit116@gmail.com \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox