RE: How to test regulator driver?

2009-03-24 Thread Aggarwal, Anuj
09, 2009 9:03 PM To: Anuj Aggarwal Cc: Linux OMAP List Subject: Re: How to test regulator driver? On Mon, Mar 09, 2009 at 08:32:55PM +0530, Anuj Aggarwal wrote: I want to test my regulator driver by writing a small kernel module. But I am a little confused as what should be passed

Re: How to test regulator driver?

2009-03-24 Thread Mark Brown
On Tue, Mar 24, 2009 at 05:14:58PM +0530, Aggarwal, Anuj wrote: I am seriously confused on how to fetch the struct device * in my consumer driver, for an already registered regulator. I am planning to use this consumer driver as a part of my CPU freq/CPU idle framework but I don't know what

Re: How to test regulator driver?

2009-03-09 Thread Mark Brown
On Mon, Mar 09, 2009 at 08:32:55PM +0530, Anuj Aggarwal wrote: I want to test my regulator driver by writing a small kernel module. But I am a little confused as what should be passed as the first argument of regulator_get(). How would the kernel module know about the device pointer that