aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/claw.c
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2012-05-15 12:03:46 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-05-16 08:42:49 -0400
commit9814fdfbecbb030454c46ebab88f8ea9819bc143 (patch)
tree9955c8f76caffaa5298239c42a003ac564b10224 /drivers/s390/net/claw.c
parentc041f2d487654eb2f981f517b216cf1efdf3cdf2 (diff)
s390/ccwgroup: remove ccwgroup_create_from_string
Remove the old ccwgroup_create_from_string interface since all drivers have been converted to ccwgroup_create_dev. Also remove now unused members of ccwgroup_driver. Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/net/claw.c')
-rw-r--r--drivers/s390/net/claw.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/s390/net/claw.c b/drivers/s390/net/claw.c
index f7e7dcd74817..634c7e8e631d 100644
--- a/drivers/s390/net/claw.c
+++ b/drivers/s390/net/claw.c
@@ -262,12 +262,10 @@ static struct ccwgroup_driver claw_group_driver = {
262 .owner = THIS_MODULE, 262 .owner = THIS_MODULE,
263 .name = "claw", 263 .name = "claw",
264 }, 264 },
265 .max_slaves = 2,
266 .driver_id = 0xC3D3C1E6,
267 .setup = claw_probe, 265 .setup = claw_probe,
268 .remove = claw_remove_device, 266 .remove = claw_remove_device,
269 .set_online = claw_new_device, 267 .set_online = claw_new_device,
270 .set_offline = claw_shutdown_device, 268 .set_offline = claw_shutdown_device,
271 .prepare = claw_pm_prepare, 269 .prepare = claw_pm_prepare,
272}; 270};
273 271
@@ -292,8 +290,7 @@ static ssize_t claw_driver_group_store(struct device_driver *ddrv,
292 const char *buf, size_t count) 290 const char *buf, size_t count)
293{ 291{
294 int err; 292 int err;
295 err = ccwgroup_create_dev(claw_root_dev, claw_group_driver.driver_id, 293 err = ccwgroup_create_dev(claw_root_dev, &claw_group_driver, 2, buf);
296 &claw_group_driver, 2, buf);
297 return err ? err : count; 294 return err ? err : count;
298} 295}
299static DRIVER_ATTR(group, 0200, NULL, claw_driver_group_store); 296static DRIVER_ATTR(group, 0200, NULL, claw_driver_group_store);