Commit 995d8ed9 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e6c56920
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
static void remove_files(struct sysfs_dirent *dir_sd, struct kobject *kobj, static void remove_files(struct sysfs_dirent *dir_sd, struct kobject *kobj,
const struct attribute_group *grp) const struct attribute_group *grp)
{ {
struct attribute *const* attr; struct attribute *const *attr;
struct bin_attribute *const* bin_attr; struct bin_attribute *const *bin_attr;
if (grp->attrs) if (grp->attrs)
for (attr = grp->attrs; *attr; attr++) for (attr = grp->attrs; *attr; attr++)
...@@ -33,8 +33,8 @@ static void remove_files(struct sysfs_dirent *dir_sd, struct kobject *kobj, ...@@ -33,8 +33,8 @@ static void remove_files(struct sysfs_dirent *dir_sd, struct kobject *kobj,
static int create_files(struct sysfs_dirent *dir_sd, struct kobject *kobj, static int create_files(struct sysfs_dirent *dir_sd, struct kobject *kobj,
const struct attribute_group *grp, int update) const struct attribute_group *grp, int update)
{ {
struct attribute *const* attr; struct attribute *const *attr;
struct bin_attribute *const* bin_attr; struct bin_attribute *const *bin_attr;
int error = 0, i; int error = 0, i;
if (grp->attrs) { if (grp->attrs) {
...@@ -189,8 +189,8 @@ int sysfs_update_group(struct kobject *kobj, ...@@ -189,8 +189,8 @@ int sysfs_update_group(struct kobject *kobj,
} }
EXPORT_SYMBOL_GPL(sysfs_update_group); EXPORT_SYMBOL_GPL(sysfs_update_group);
void sysfs_remove_group(struct kobject * kobj, void sysfs_remove_group(struct kobject *kobj,
const struct attribute_group * grp) const struct attribute_group *grp)
{ {
struct sysfs_dirent *dir_sd = kobj->sd; struct sysfs_dirent *dir_sd = kobj->sd;
struct sysfs_dirent *sd; struct sysfs_dirent *sd;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment