From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Felipe Balbi <balbi@kernel.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>, Bin Liu <b-liu@ti.com>
Subject: [1/6] USB: move many drivers to use DEVICE_ATTR_RW
Date: Tue, 23 Jan 2018 11:31:56 +0100 [thread overview]
Message-ID: <20180123103156.GA4292@kroah.com> (raw)
On Tue, Jan 23, 2018 at 12:26:38PM +0200, Felipe Balbi wrote:
>
> Hi,
>
> Greg Kroah-Hartman <gregkh@linuxfoundation.org> writes:
> > 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 drivers/usb/phy:
>
> Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Great, thanks for the quick review of these.
greg k-h
---
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 10:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-23 10:31 Greg Kroah-Hartman [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 17:26 Bin Liu
2018-01-23 14:48 Alan Stern
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=20180123103156.GA4292@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=Peter.Chen@nxp.com \
--cc=b-liu@ti.com \
--cc=balbi@kernel.org \
--cc=castet.matthieu@free.fr \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.