mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Greg KH <gregkh@suse.de>
To: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [patch 1/3] driver core: Introduce default attribute groups.
Date: Wed, 5 Dec 2007 08:24:41 -0800	[thread overview]
Message-ID: <20071205162441.GB9631@suse.de> (raw)
In-Reply-To: <20071205125023.50f4c478@gondolin.boeblingen.de.ibm.com>

On Wed, Dec 05, 2007 at 12:50:23PM +0100, Cornelia Huck wrote:
> This is lot like default attributes for devices (and indeed,
> a lot of the code is lifted from there).
> 
> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
> 
> ---
>  drivers/base/driver.c  |   44 +++++++++++++++++++++++++++++++++++++++++++-
>  include/linux/device.h |    2 ++
>  2 files changed, 45 insertions(+), 1 deletion(-)
> 
> Index: linux-2.6/drivers/base/driver.c
> ===================================================================
> --- linux-2.6.orig/drivers/base/driver.c	2007-12-05 09:53:15.000000000 +0100
> +++ linux-2.6/drivers/base/driver.c	2007-12-05 12:41:02.000000000 +0100
> @@ -151,6 +151,39 @@ void put_driver(struct device_driver * d
>  	kobject_put(&drv->p->kobj);
>  }
>  
> +static int driver_add_groups(struct device_driver *drv,
> +			     struct attribute_group **groups)

Heh, I just added a driver_add_group() function, to fix up some other
ppc driver :)

I'll delete that and use this series instead, it's nicer.

thanks,

greg k-h

  reply	other threads:[~2007-12-05 16:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20071205114119.905238262@de.ibm.com>
2007-12-05 11:50 ` Cornelia Huck
2007-12-05 16:24   ` Greg KH [this message]
2007-12-05 11:50 ` [patch 2/3] netiucv: Use device_driver " Cornelia Huck
2007-12-05 11:50 ` [patch 3/3] zfcp: " Cornelia Huck

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=20071205162441.GB9631@suse.de \
    --to=gregkh@suse.de \
    --cc=cornelia.huck@de.ibm.com \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®