#include <linux/regulator/machine.h>\r
\r
\r
-#if 1\r
+#if 0\r
#define DBG(x...) printk(KERN_INFO x)\r
#else\r
#define DBG(x...)\r
goto err;\r
}\r
pdata->rdev[i] = pwm_rdev;\r
+ \r
+ /*********set pwm vol by defult***********/\r
+ dc = regulator_get(NULL,rail_name);\r
+ regulator_set_voltage(dc,pdata->pwm_voltage,pdata->pwm_voltage);\r
+ regulator_put(dc);\r
+ /**************************************/\r
}\r
}\r
- /*********set pwm vol by defult***********/\r
- //dc = regulator_get(NULL,"vdd_gpu");\r
- //regulator_set_voltage(dc,pdata->pwm_voltage,pdata->pwm_voltage);\r
- /**************************************/\r
return 0;\r
err:\r
printk("%s:error\n",__func__);\r