All of lore.kernel.org
 help / color / mirror / Atom feed
From: Liam Girdwood <lrg@slimlogic.co.uk>
To: felipe.balbi@nokia.com
Cc: ext Mike Rapoport <mike@compulab.co.il>,
	Felipe Balbi <me@felipebalbi.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Mark Brown <broonie@opensource.wolfsonmicro.com>
Subject: Re: [PATCH] regulator: userspace: use sysfs_create_group
Date: Mon, 10 Aug 2009 18:33:55 +0100	[thread overview]
Message-ID: <1249925635.18340.7.camel@odin> (raw)
In-Reply-To: <20090810060610.GN14802@nokia.com>

On Mon, 2009-08-10 at 09:06 +0300, Felipe Balbi wrote:
> On Mon, Aug 10, 2009 at 07:20:34AM +0200, ext Mike Rapoport wrote:
> > 
> > 
> > Felipe Balbi wrote:
> > > Signed-off-by: Felipe Balbi <me@felipebalbi.com>
> > > ---
> > 
> > NAK
> > 
> > >  drivers/regulator/userspace-consumer.c |   44 ++++++++++++++++----------------
> > >  1 files changed, 22 insertions(+), 22 deletions(-)
> > > 
> > > diff --git a/drivers/regulator/userspace-consumer.c b/drivers/regulator/userspace-consumer.c
> > > index 06d2fa9..a7e8e0b 100644
> > > --- a/drivers/regulator/userspace-consumer.c
> > > +++ b/drivers/regulator/userspace-consumer.c
> > > @@ -93,16 +93,20 @@ static ssize_t reg_set_state(struct device *dev, struct device_attribute *attr,
> > >  static DEVICE_ATTR(name, 0444, reg_show_name, NULL);
> > >  static DEVICE_ATTR(state, 0644, reg_show_state, reg_set_state);
> > >  
> > > -static struct device_attribute *attributes[] = {
> > > -	&dev_attr_name,
> > > -	&dev_attr_state,
> > > +static struct attribute *attributes[] = {
> > > +	&dev_attr_name.attr,
> > > +	&dev_attr_state.attr,
> > 
> > NULL?
> > Except that patch is Ok.
> 
> oops, sorry for that, here's updated version
> 
> ================================ CUT HERE =====================================
> 
> >From 5e3502b30b2cbd30946e1240d62905db33716dbd Mon Sep 17 00:00:00 2001
> From: Felipe Balbi <felipe.balbi@nokia.com>
> Date: Mon, 10 Aug 2009 09:05:13 +0300
> Subject: [PATCH] regulator: userspace: use sysfs_create_group
> 
> and avoid introducing our own loops for creating
> several sysfs entries.
> 
> Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
> ---
>  drivers/regulator/userspace-consumer.c |   45 ++++++++++++++++---------------
>  1 files changed, 23 insertions(+), 22 deletions(-)
> 

New version applied.

Thanks

Liam


      parent reply	other threads:[~2009-08-10 17:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-09 18:01 [PATCH] regulator: userspace: use sysfs_create_group Felipe Balbi
2009-08-09 18:24 ` Mark Brown
2009-08-10  5:20 ` Mike Rapoport
2009-08-10  6:06   ` Felipe Balbi
2009-08-10  6:30     ` Mike Rapoport
2009-08-10 17:33     ` Liam Girdwood [this message]

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=1249925635.18340.7.camel@odin \
    --to=lrg@slimlogic.co.uk \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=felipe.balbi@nokia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=me@felipebalbi.com \
    --cc=mike@compulab.co.il \
    /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.