[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091128172127.GC28189@khazad-dum.debian.net>
Date: Sat, 28 Nov 2009 15:21:27 -0200
From: Henrique de Moraes Holschuh <hmh@....eng.br>
To: Rafa?? Mi??ecki <zajec5@...il.com>
Cc: Linux ACPI <linux-acpi@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Richard Purdie <rpurdie@...ys.net>
Subject: Re: Backlight device class redesign
On Sat, 28 Nov 2009, Rafa?? Mi??ecki wrote:
> > Meanwhile, I'd like a LOT to know how I could parent the backlight device I
> > export in a platform driver to the correct PCI or ACPI device for the main
> > GPU...
>
> Is actually "parent" used for something? I can see it used in many
> modules, but not sure where we use that pointer (if we do).
For one, you get symlinks in sysfs, which would let userspace know what
backlight is related to what PCI/video/whatever device.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
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