On Wed, Mar 28, 2012 at 11:37:37PM +0800, Haojian Zhuang wrote: > On Wed, Mar 28, 2012 at 11:27 PM, Mark Brown > > These don't look like good fixes, you should be specifying the > > dev_name() for the consumer device? Presumably it's two separate > > consumers and should be .0 and .1 or something? > Could you do a quick update on dev_name() according to Mark's comment? > -REGULATOR_CONSUMER(ldo10, &pxa_device_mci.dev, "vcc sdio"); > +REGULAOTR_CONSUMER(ldo10, dev_name(&pxa_device_mci.dev), "vcc sdio"); No, you're missing the point again. As I said previously the whole point of this interface is that you don't have to have access to the struct device. This should be the string *returned* by dev_name(), not a direct call to dev_name().
Attachment:
signature.asc
Description: Digital signature