All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi@kernel.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-usb@vger.kernel.org
Cc: 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 12:26:38 +0200	[thread overview]
Message-ID: <871signa5d.fsf@linux.intel.com> (raw)

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>

             reply	other threads:[~2018-01-23 10:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-23 10:26 Felipe Balbi [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:31 Greg Kroah-Hartman
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=871signa5d.fsf@linux.intel.com \
    --to=balbi@kernel.org \
    --cc=Peter.Chen@nxp.com \
    --cc=b-liu@ti.com \
    --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 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.