From: Bin Liu <b-liu@ti.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org,
Matthieu CASTET <castet.matthieu@free.fr>,
Stanislaw Gruszka <stf_xl@wp.pl>, Peter Chen <Peter.Chen@nxp.com>,
Alan Stern <stern@rowland.harvard.edu>,
Mathias Nyman <mathias.nyman@intel.com>,
Felipe Balbi <balbi@kernel.org>
Subject: [1/6] USB: move many drivers to use DEVICE_ATTR_RW
Date: Tue, 23 Jan 2018 11:26:26 -0600 [thread overview]
Message-ID: <20180123172626.GA18420@uda0271908> (raw)
On Tue, Jan 23, 2018 at 11:24:05AM +0100, Greg Kroah-Hartman wrote:
> Instead of "open coding" a DEVICE_ATTR() define, use the
> DEVICE_ATTR_RW() macro instead, which does everything properly instead.
>
> This does require a few static functions to be renamed to work properly,
> but thanks to a script from Joe Perches, this was easily done.
>
> Reported-by: Joe Perches <joe@perches.com>
> Cc: Matthieu CASTET <castet.matthieu@free.fr>
> Cc: Stanislaw Gruszka <stf_xl@wp.pl>
> Cc: Peter Chen <Peter.Chen@nxp.com>
> Cc: Alan Stern <stern@rowland.harvard.edu>
> Cc: Mathias Nyman <mathias.nyman@intel.com>
> Cc: Bin Liu <b-liu@ti.com>
> Cc: Felipe Balbi <balbi@kernel.org>
> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
For MUSB part in 1/6, and 5/6:
Acked-by: Bin Liu <b-liu@ti.com>
Regards,
-Bin.
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2018-01-23 17:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-23 17:26 Bin Liu [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-01-24 10:47 [1/6] USB: move many drivers to use DEVICE_ATTR_RW Matthieu CASTET
2018-01-23 14:48 Alan Stern
2018-01-23 10:31 Greg Kroah-Hartman
2018-01-23 10:26 Felipe Balbi
2018-01-23 10:24 Greg Kroah-Hartman
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=20180123172626.GA18420@uda0271908 \
--to=b-liu@ti.com \
--cc=Peter.Chen@nxp.com \
--cc=balbi@kernel.org \
--cc=castet.matthieu@free.fr \
--cc=gregkh@linuxfoundation.org \
--cc=linux-usb@vger.kernel.org \
--cc=mathias.nyman@intel.com \
--cc=stern@rowland.harvard.edu \
--cc=stf_xl@wp.pl \
/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