aboutsummaryrefslogtreecommitdiffstats
path: root/fs/sysfs/group.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-21 19:07:29 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-21 19:07:29 -0400
commit995d8ed943291d2fa1174f5b00d8921c6cf91c98 (patch)
tree7293fe99b4619326357ae5b2be0c47833d776400 /fs/sysfs/group.c
parente6c56920fd81f804910360cd487ec78b766b3aa8 (diff)
sysfs: group.c: fix up some * coding style issues
This fixes up the * coding style warnings for the group.c sysfs file. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/sysfs/group.c')
-rw-r--r--fs/sysfs/group.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/sysfs/group.c b/fs/sysfs/group.c
index 14672e9b9172..f4a9d221cbe6 100644
--- a/fs/sysfs/group.c
+++ b/fs/sysfs/group.c
@@ -19,8 +19,8 @@
19static void remove_files(struct sysfs_dirent *dir_sd, struct kobject *kobj, 19static void remove_files(struct sysfs_dirent *dir_sd, struct kobject *kobj,
20 const struct attribute_group *grp) 20 const struct attribute_group *grp)
21{ 21{
22 struct attribute *const* attr; 22 struct attribute *const *attr;
23 struct bin_attribute *const* bin_attr; 23 struct bin_attribute *const *bin_attr;
24 24
25 if (grp->attrs) 25 if (grp->attrs)
26 for (attr = grp->attrs; *attr; attr++) 26 for (attr = grp->attrs; *attr; attr++)
@@ -33,8 +33,8 @@ static void remove_files(struct sysfs_dirent *dir_sd, struct kobject *kobj,
33static int create_files(struct sysfs_dirent *dir_sd, struct kobject *kobj, 33static int create_files(struct sysfs_dirent *dir_sd, struct kobject *kobj,
34 const struct attribute_group *grp, int update) 34 const struct attribute_group *grp, int update)
35{ 35{
36 struct attribute *const* attr; 36 struct attribute *const *attr;
37 struct bin_attribute *const* bin_attr; 37 struct bin_attribute *const *bin_attr;
38 int error = 0, i; 38 int error = 0, i;
39 39
40 if (grp->attrs) { 40 if (grp->attrs) {
@@ -189,8 +189,8 @@ int sysfs_update_group(struct kobject *kobj,
189} 189}
190EXPORT_SYMBOL_GPL(sysfs_update_group); 190EXPORT_SYMBOL_GPL(sysfs_update_group);
191 191
192void sysfs_remove_group(struct kobject * kobj, 192void sysfs_remove_group(struct kobject *kobj,
193 const struct attribute_group * grp) 193 const struct attribute_group *grp)
194{ 194{
195 struct sysfs_dirent *dir_sd = kobj->sd; 195 struct sysfs_dirent *dir_sd = kobj->sd;
196 struct sysfs_dirent *sd; 196 struct sysfs_dirent *sd;