aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/cio/device.c')
-rw-r--r--drivers/s390/cio/device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/cio/device.c b/drivers/s390/cio/device.c
index eedf863c6c64..e322111fb369 100644
--- a/drivers/s390/cio/device.c
+++ b/drivers/s390/cio/device.c
@@ -548,13 +548,13 @@ static struct attribute_group ccwdev_attr_group = {
548 .attrs = ccwdev_attrs, 548 .attrs = ccwdev_attrs,
549}; 549};
550 550
551static inline int 551static int
552device_add_files (struct device *dev) 552device_add_files (struct device *dev)
553{ 553{
554 return sysfs_create_group(&dev->kobj, &ccwdev_attr_group); 554 return sysfs_create_group(&dev->kobj, &ccwdev_attr_group);
555} 555}
556 556
557static inline void 557static void
558device_remove_files(struct device *dev) 558device_remove_files(struct device *dev)
559{ 559{
560 sysfs_remove_group(&dev->kobj, &ccwdev_attr_group); 560 sysfs_remove_group(&dev->kobj, &ccwdev_attr_group);