Skip to content

Commit 995d8ed

Browse files
committed
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>
1 parent e6c5692 commit 995d8ed

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎fs/sysfs/group.c‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
static void remove_files(struct sysfs_dirent *dir_sd, struct kobject *kobj,
2020
const struct attribute_group *grp)
2121
{
22-
struct attribute *const* attr;
23-
struct bin_attribute *const* bin_attr;
22+
struct attribute *const *attr;
23+
struct bin_attribute *const *bin_attr;
2424

2525
if (grp->attrs)
2626
for (attr = grp->attrs; *attr; attr++)
@@ -33,8 +33,8 @@ static void remove_files(struct sysfs_dirent *dir_sd, struct kobject *kobj,
3333
static int create_files(struct sysfs_dirent *dir_sd, struct kobject *kobj,
3434
const struct attribute_group *grp, int update)
3535
{
36-
struct attribute *const* attr;
37-
struct bin_attribute *const* bin_attr;
36+
struct attribute *const *attr;
37+
struct bin_attribute *const *bin_attr;
3838
int error = 0, i;
3939

4040
if (grp->attrs) {
@@ -189,8 +189,8 @@ int sysfs_update_group(struct kobject *kobj,
189189
}
190190
EXPORT_SYMBOL_GPL(sysfs_update_group);
191191

192-
void sysfs_remove_group(struct kobject * kobj,
193-
const struct attribute_group * grp)
192+
void sysfs_remove_group(struct kobject *kobj,
193+
const struct attribute_group *grp)
194194
{
195195
struct sysfs_dirent *dir_sd = kobj->sd;
196196
struct sysfs_dirent *sd;

0 commit comments

Comments
 (0)