Re: [patch 01/13] Driver Core: add nodename callbacks

From: Greg KH
Date: Mon May 11 2009 - 16:57:25 EST


On Sun, May 10, 2009 at 03:19:46PM +0200, Kay Sievers wrote:
> On Sun, May 10, 2009 at 14:52, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> >> +++ b/include/linux/device.h
> >>  struct device {
> >>       struct device           *parent;
> >> +     char *(*nodename)(struct device *dev);
> >
> > Just wondering what this callback is for.  I didn't look really hard, but
> > couldn't find it used anywhere.
>
> You are right, that seems like a left-over which did not get used, and
> should be removed from the patch.

I've now removed it, thanks Stephen for finding this.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/