All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Brian Masney <masneyb@onstation.org>
Cc: linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, jic23@kernel.org
Subject: Re: [PATCH v2 1/2] include: linux: iio: add IIO_ATTR_{RO, WO, RW} and IIO_DEVICE_ATTR_{RO, WO, RW} macros
Date: Mon, 26 Sep 2016 09:59:35 +0200	[thread overview]
Message-ID: <20160926075935.GA25938@kroah.com> (raw)
In-Reply-To: <1474831675-4201-1-git-send-email-masneyb@onstation.org>

On Sun, Sep 25, 2016 at 03:27:54PM -0400, Brian Masney wrote:
> Add new macros: IIO_ATTR_RO, IIO_ATTR_WO, IIO_ATTR_RW,
> IIO_DEVICE_ATTR_RO, IIO_DEVICE_ATTR_WO and IIO_DEVICE_ATTR_RW to reduce
> the amount of boiler plate code that is needed for creating new
> attributes. This mimics the *_RO, *_WO, and *_RW macros that are found
> in include/linux/device.h and include/linux/sysfs.h.
> 
> Signed-off-by: Brian Masney <masneyb@onstation.org>
> ---
>  include/linux/iio/sysfs.h | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)


Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

  reply	other threads:[~2016-09-26  7:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-25 17:29 [PATCH 1/2] include: linux: iio: add IIO_DEVICE_ATTR_{RO,WO,RW} macros Brian Masney
2016-09-25 17:29 ` [PATCH 2/2] staging: iio: isl29018: use IIO_DEVICE_ATTR_{RO,RW} macros Brian Masney
2016-09-25 17:58 ` [PATCH 1/2] include: linux: iio: add IIO_DEVICE_ATTR_{RO, WO, RW} macros Greg KH
2016-09-25 19:27   ` [PATCH v2 1/2] include: linux: iio: add IIO_ATTR_{RO,WO,RW} and IIO_DEVICE_ATTR_{RO,WO,RW} macros Brian Masney
2016-09-26  7:59     ` Greg KH [this message]
2016-09-27  0:20       ` [PATCH v3 1/5] include: linux: iio: add IIO_ATTR_{RO, WO, RW} and IIO_DEVICE_ATTR_{RO, WO, RW} macros Brian Masney
2016-09-27  0:20         ` [PATCH v3 2/5] staging: iio: isl29018: use IIO_DEVICE_ATTR_{RO, " Brian Masney
2016-10-01 13:48           ` Jonathan Cameron
2016-09-27  0:20         ` [PATCH v3 3/5] staging: iio: isl29018: fixed race condition in in_illuminance_scale_available_show() Brian Masney
2016-10-01 13:53           ` Jonathan Cameron
2016-09-27  0:20         ` [PATCH v3 5/5] staging: iio: isl29018: check if the chip is in a suspended state Brian Masney
2016-10-01 13:59           ` Jonathan Cameron
2016-10-01 15:30             ` Brian Masney
2016-10-01 15:56               ` Jonathan Cameron
2016-10-01 13:47         ` [PATCH v3 1/5] include: linux: iio: add IIO_ATTR_{RO, WO, RW} and IIO_DEVICE_ATTR_{RO, WO, RW} macros Jonathan Cameron
     [not found]         ` <1474935620-13151-4-git-send-email-masneyb@onstation.org>
2016-10-01 13:55           ` [PATCH v3 4/5] staging: iio: isl29018: change isl29018_read_raw() to only have one exit point Jonathan Cameron
2016-09-25 19:27   ` [PATCH v2 2/2] staging: iio: isl29018: use IIO_DEVICE_ATTR_{RO,RW} macros Brian Masney

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=20160926075935.GA25938@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=devel@driverdev.osuosl.org \
    --cc=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=masneyb@onstation.org \
    /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.