diff options
author | Jeff Mahoney <jeffm@suse.de> | 2012-08-18 19:20:39 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-09-14 16:59:28 (GMT) |
commit | 6c648d95a6af4a79241a916871df17c84c68ea20 (patch) | |
tree | 9c658ea5964dea1ecdb029ce955587d17bea6d03 /drivers/i2c/busses/i2c-viapro.c | |
parent | e3f2a9cc84d35fac73c906de57ad3b3f5ff82008 (diff) | |
download | linux-fsl-qoriq-6c648d95a6af4a79241a916871df17c84c68ea20.tar.xz |
[SCSI] st: get rid of scsi_tapes array
st currently allocates an array to store pointers to all of the
scsi_tape objects. It's used to discover available indexes to use as the
base for the minor number selection and later to look up scsi_tape
devices for character devices.
We switch to using an IDR for minor selection and a pointer from
st_modedef back to scsi_tape for the lookups.
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Acked-by: Kai Mäkisara <kai.makisara@kolumbus.fi>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/i2c/busses/i2c-viapro.c')
0 files changed, 0 insertions, 0 deletions