On Fri, Mar 04, 2011 at 08:41:00AM -0800, Bill Gatliff wrote:
> Guys:
As ever please remember to CC maintainers so they see your mails,
especially if you're going to mail a different list to the one usually
used for development of the subsystem you're working on.
> The text in Documentation/power/regulator/machine.txt describes how to
> place regulator_init_data and regulator_consumer_supply structures
> into the .dev.platform_data field of a platform_device structure. The
> platform_device.name field equals "regulator".
> Trouble is, I can't find anywhere in the drivers/regulator code that
> registers a platform_driver named "regulator". Am I just going blind?
This is just an example of how to supply platform data to a device.
You need to pass things into the driver for whatever regulator you are
using. There are quite a few systems in the tree using regulators
which you can use for reference...
--
To unsubscribe from this list: send the line "unsubscribe linux-embedded" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux MMC Devel]
[U-Boot V2]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux OMAP]
[Linux SCSI]
[XFree86]