mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
amend DEVICE_ATTR 0660 of rk29_keys and rk29_backlight factorytool
This commit is contained in:
parent
28e07bcda6
commit
b7e358d29e
|
|
@ -114,12 +114,12 @@ static ssize_t rk29key_set(struct device *dev,
|
|||
}
|
||||
|
||||
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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ static ssize_t backlight_read(struct device *dev,
|
|||
|
||||
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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user