Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48525127 authored by Jie Cheng's avatar Jie Cheng
Browse files

sensors: fix the boot time warning of the cm36283 sensor sysfs



The sensor cm36283 sysfs ATTR ls_adc is read only ,so the permission
should be 0444 not 0664.

Change-Id: I2b9695cd8225785297778d5f9719e48983deb0a7
Signed-off-by: default avatarJie Cheng <rockiec@codeaurora.org>
parent bfaea932
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1546,7 +1546,7 @@ static int remove_sysfs_interfaces(struct device *dev,
}

static struct device_attribute light_attr[] = {
	__ATTR(ls_adc, 0664, ls_adc_show, NULL),
	__ATTR(ls_adc, 0444, ls_adc_show, NULL),
	__ATTR(ls_kadc, 0664, ls_kadc_show, ls_kadc_store),
	__ATTR(ls_gadc, 0664, ls_gadc_show, ls_gadc_store),
	__ATTR(ls_conf, 0664, ls_conf_show, ls_conf_store),