From: ywj Date: Fri, 17 Aug 2012 03:32:40 +0000 (+0800) Subject: amend DEVICE_ATTR of rk30_factory_adc_battery for cts X-Git-Tag: firefly_0821_release~8919 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3161f4afe426eac72dca36cd8646fd666331f0c8;p=firefly-linux-kernel-4.4.55.git amend DEVICE_ATTR of rk30_factory_adc_battery for cts --- diff --git a/drivers/power/rk30_factory_adc_battery.c b/drivers/power/rk30_factory_adc_battery.c index 02396a374fc1..04527ec71050 100644 --- a/drivers/power/rk30_factory_adc_battery.c +++ b/drivers/power/rk30_factory_adc_battery.c @@ -249,7 +249,7 @@ static ssize_t bat_param_read(struct device *dev,struct device_attribute *attr, #endif return 0; } -DEVICE_ATTR(batparam, 0777, bat_param_read,NULL); +DEVICE_ATTR(batparam, 0664, bat_param_read,NULL); static ssize_t rkbatt_show_debug_attrs(struct device *dev,