diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2012-05-15 12:03:46 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-05-16 08:42:49 -0400 |
commit | 9814fdfbecbb030454c46ebab88f8ea9819bc143 (patch) | |
tree | 9955c8f76caffaa5298239c42a003ac564b10224 /arch/s390/include | |
parent | c041f2d487654eb2f981f517b216cf1efdf3cdf2 (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 'arch/s390/include')
-rw-r--r-- | arch/s390/include/asm/ccwgroup.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/arch/s390/include/asm/ccwgroup.h b/arch/s390/include/asm/ccwgroup.h index 70c3d4d2efe8..f2ef34f6d6e5 100644 --- a/arch/s390/include/asm/ccwgroup.h +++ b/arch/s390/include/asm/ccwgroup.h | |||
@@ -29,10 +29,7 @@ struct ccwgroup_device { | |||
29 | 29 | ||
30 | /** | 30 | /** |
31 | * struct ccwgroup_driver - driver for ccw group devices | 31 | * struct ccwgroup_driver - driver for ccw group devices |
32 | * @max_slaves: maximum number of slave devices | ||
33 | * @driver_id: unique id | ||
34 | * @setup: function called during device creation to setup the device | 32 | * @setup: function called during device creation to setup the device |
35 | * @probe: function called on probe | ||
36 | * @remove: function called on remove | 33 | * @remove: function called on remove |
37 | * @set_online: function called when device is set online | 34 | * @set_online: function called when device is set online |
38 | * @set_offline: function called when device is set offline | 35 | * @set_offline: function called when device is set offline |
@@ -45,11 +42,7 @@ struct ccwgroup_device { | |||
45 | * @driver: embedded driver structure | 42 | * @driver: embedded driver structure |
46 | */ | 43 | */ |
47 | struct ccwgroup_driver { | 44 | struct ccwgroup_driver { |
48 | int max_slaves; | ||
49 | unsigned long driver_id; | ||
50 | |||
51 | int (*setup) (struct ccwgroup_device *); | 45 | int (*setup) (struct ccwgroup_device *); |
52 | int (*probe) (struct ccwgroup_device *); | ||
53 | void (*remove) (struct ccwgroup_device *); | 46 | void (*remove) (struct ccwgroup_device *); |
54 | int (*set_online) (struct ccwgroup_device *); | 47 | int (*set_online) (struct ccwgroup_device *); |
55 | int (*set_offline) (struct ccwgroup_device *); | 48 | int (*set_offline) (struct ccwgroup_device *); |
@@ -65,12 +58,8 @@ struct ccwgroup_driver { | |||
65 | 58 | ||
66 | extern int ccwgroup_driver_register (struct ccwgroup_driver *cdriver); | 59 | extern int ccwgroup_driver_register (struct ccwgroup_driver *cdriver); |
67 | extern void ccwgroup_driver_unregister (struct ccwgroup_driver *cdriver); | 60 | extern void ccwgroup_driver_unregister (struct ccwgroup_driver *cdriver); |
68 | int ccwgroup_create_dev(struct device *root, unsigned int creator_id, | 61 | int ccwgroup_create_dev(struct device *root, struct ccwgroup_driver *gdrv, |
69 | struct ccwgroup_driver *gdrv, int num_devices, | 62 | int num_devices, const char *buf); |
70 | const char *buf); | ||
71 | int ccwgroup_create_from_string(struct device *root, unsigned int creator_id, | ||
72 | struct ccw_driver *cdrv, int num_devices, | ||
73 | const char *buf); | ||
74 | 63 | ||
75 | extern int ccwgroup_probe_ccwdev(struct ccw_device *cdev); | 64 | extern int ccwgroup_probe_ccwdev(struct ccw_device *cdev); |
76 | extern void ccwgroup_remove_ccwdev(struct ccw_device *cdev); | 65 | extern void ccwgroup_remove_ccwdev(struct ccw_device *cdev); |