}
for(i=0;i<7;i++)
- printk("desc=%s, code=%d\n",pdata->buttons[i].desc,pdata->buttons[i].code);
+ key_dbg("desc=%s, code=%d\n",pdata->buttons[i].desc,pdata->buttons[i].code);
return 0;
}
-static DEVICE_ATTR(rk29key,0777, NULL, rk29key_set);
+static DEVICE_ATTR(rk29key,0660, NULL, rk29key_set);
void rk29_send_power_key(int state)
{
printk("rk29_bl_info->min_brightness=%d\n",rk29_bl_info->min_brightness);
}
-static DEVICE_ATTR(rk29backlight, 0777, backlight_read, backlight_write);
+static DEVICE_ATTR(rk29backlight, 0660, backlight_read, backlight_write);
static int rk29_bl_update_status(struct backlight_device *bl)
{