mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
Merge branch 'for-4.14/constify-attribute_group' into for-linus
- struct attribute_group constification from Arvind Yadav
This commit is contained in:
commit
aaf4f13c45
4 changed files with 4 additions and 4 deletions
|
|
@ -2926,7 +2926,7 @@ static struct attribute *sysfs_attrs[] = {
|
|||
NULL
|
||||
};
|
||||
|
||||
static struct attribute_group ps_attribute_group = {
|
||||
static const struct attribute_group ps_attribute_group = {
|
||||
.attrs = sysfs_attrs
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -341,7 +341,7 @@ static struct attribute *sysfs_attrs[] = {
|
|||
NULL
|
||||
};
|
||||
|
||||
static struct attribute_group mt_attribute_group = {
|
||||
static const struct attribute_group mt_attribute_group = {
|
||||
.attrs = sysfs_attrs
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -445,7 +445,7 @@ static struct attribute *sysfs_attrs[] = {
|
|||
NULL
|
||||
};
|
||||
|
||||
static struct attribute_group ntrig_attribute_group = {
|
||||
static const struct attribute_group ntrig_attribute_group = {
|
||||
.attrs = sysfs_attrs
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -276,7 +276,7 @@ static struct attribute *enable_sensor_attrs[] = {
|
|||
NULL,
|
||||
};
|
||||
|
||||
static struct attribute_group enable_sensor_attr_group = {
|
||||
static const struct attribute_group enable_sensor_attr_group = {
|
||||
.attrs = enable_sensor_attrs,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue