diff options
Diffstat (limited to 'drivers/s390/cio/css.c')
-rw-r--r-- | drivers/s390/cio/css.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c index 0bf716619378..4c81d890791e 100644 --- a/drivers/s390/cio/css.c +++ b/drivers/s390/cio/css.c | |||
@@ -137,6 +137,7 @@ css_register_subchannel(struct subchannel *sch) | |||
137 | sch->dev.parent = &css[0]->device; | 137 | sch->dev.parent = &css[0]->device; |
138 | sch->dev.bus = &css_bus_type; | 138 | sch->dev.bus = &css_bus_type; |
139 | sch->dev.release = &css_subchannel_release; | 139 | sch->dev.release = &css_subchannel_release; |
140 | sch->dev.groups = subch_attr_groups; | ||
140 | 141 | ||
141 | /* make it known to the system */ | 142 | /* make it known to the system */ |
142 | ret = css_sch_device_register(sch); | 143 | ret = css_sch_device_register(sch); |
@@ -146,10 +147,6 @@ css_register_subchannel(struct subchannel *sch) | |||
146 | return ret; | 147 | return ret; |
147 | } | 148 | } |
148 | css_get_ssd_info(sch); | 149 | css_get_ssd_info(sch); |
149 | ret = subchannel_add_files(&sch->dev); | ||
150 | if (ret) | ||
151 | printk(KERN_WARNING "%s: could not add attributes to %s\n", | ||
152 | __func__, sch->dev.bus_id); | ||
153 | return ret; | 150 | return ret; |
154 | } | 151 | } |
155 | 152 | ||