Re: [PATCH 1/2] Include TPS6235x based Power regulator support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 14, 2009 at 04:34:35PM +0530, Pillai, Manikandan wrote:

> > The platform data is part of the struct device so you with your current
> > code your driver can just assign directly to it.
> [Pillai, Manikandan]  The platform_data is now initialized to clkrate.
> (arch/arm/plat-omap2/i2c.c

If you don't want to overwrite it then as previously discussed you
should allocate a child platform device in your probe function and use
that as the immediate argument when calling regulator_register().

I'm currently doing a patch to regulator_register() which will make the
init data an explicit argument.  With the current code using the
platform data of your I2C device or allocating a child device are your
options.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux