On Fri, Dec 09, 2011 at 07:46:06PM +0530, Ashish Jangam wrote:
+ req = kzalloc(sizeof(*req), GFP_KERNEL);
+ if (!req)
+ return -ENOMEM;
+ init_completion(req-done);
+ req-input = channel;
+
+ if (channel DA9052_ADC_VBBAT)
+ return -EINVAL;
The DA9052/53 is a highly integrated PMIC subsystem with supply domain
flexibility to support wide range of high performance application.
It provides voltage regulators, GPIO controller, Touch Screen, RTC, Battery
control and other functionality.
This patch is functionally tested on Samsung