[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1193519535.5776.16.camel@lov.site>
Date: Sat, 27 Oct 2007 23:12:15 +0200
From: Kay Sievers <kay.sievers@...y.org>
To: Jesse Barnes <jesse.barnes@...el.com>
Cc: Greg KH <gregkh@...e.de>, dri-devel@...ts.sf.net,
linux-kernel@...r.kernel.org, "Rafael J. Wysocki" <rjw@...k.pl>,
Pavel Machek <pavel@....cz>, jbarnes@...tuousgeek.org
Subject: Re: fixing up DRM device model usage
On Fri, 2007-10-26 at 14:31 -0700, Jesse Barnes wrote:
> On Friday, October 26, 2007 12:08 pm Kay Sievers wrote:
> > The open coded: device_create_file(&dev->dev, &device_attrs[i])
> > should probably replaced by passing the array to the class, and the
> > core will do that for you.
>
> You mean just set drm_class->dev_attrs = device_attrs? I didn't see in
> the core device model code where that would create the files...
Yeah, it is in device_add_attrs() in drivers/base/core.c.
Kay
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists