diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-19 16:29:02 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-19 16:29:02 -0500 |
commit | 874ff01bd9183ad16495acfd54e93a619d12b8b5 (patch) | |
tree | e9527e94649fadfa705dae64018e027e51681b88 /drivers/scsi/osst.c | |
parent | ebbe46f73a11a667df59cb8e58b371c0a35f29d0 (diff) | |
parent | 86aae08faa0069a559ba543ff3dab33fe95f891b (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial
* git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial: (25 commits)
Documentation/kernel-docs.txt update.
arch/cris: typo in KERN_INFO
Storage class should be before const qualifier
kernel/printk.c: comment fix
update I/O sched Kconfig help texts - CFQ is now default, not AS.
Remove duplicate listing of Cris arch from README
kbuild: more doc. cleanups
doc: make doc. for maxcpus= more visible
drivers/net/eexpress.c: remove duplicate comment
add a help text for BLK_DEV_GENERIC
correct a dead URL in the IP_MULTICAST help text
fix the BAYCOM_SER_HDX help text
fix SCSI_SCAN_ASYNC help text
trivial documentation patch for platform.txt
Fix typos concerning hierarchy
Fix comment typo "spin_lock_irqrestore".
Fix misspellings of "agressive".
drivers/scsi/a100u2w.c: trivial typo patch
Correct trivial typo in log2.h.
Remove useless FIND_FIRST_BIT() macro from cardbus.c.
...
Diffstat (limited to 'drivers/scsi/osst.c')
-rw-r--r-- | drivers/scsi/osst.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/scsi/osst.c b/drivers/scsi/osst.c index 9668b73872c7..a967fadb7439 100644 --- a/drivers/scsi/osst.c +++ b/drivers/scsi/osst.c | |||
@@ -5574,14 +5574,14 @@ static ssize_t osst_version_show(struct device_driver *ddd, char *buf) | |||
5574 | 5574 | ||
5575 | static DRIVER_ATTR(version, S_IRUGO, osst_version_show, NULL); | 5575 | static DRIVER_ATTR(version, S_IRUGO, osst_version_show, NULL); |
5576 | 5576 | ||
5577 | static int osst_create_driverfs_files(struct device_driver *driverfs) | 5577 | static int osst_create_sysfs_files(struct device_driver *sysfs) |
5578 | { | 5578 | { |
5579 | return driver_create_file(driverfs, &driver_attr_version); | 5579 | return driver_create_file(sysfs, &driver_attr_version); |
5580 | } | 5580 | } |
5581 | 5581 | ||
5582 | static void osst_remove_driverfs_files(struct device_driver *driverfs) | 5582 | static void osst_remove_sysfs_files(struct device_driver *sysfs) |
5583 | { | 5583 | { |
5584 | driver_remove_file(driverfs, &driver_attr_version); | 5584 | driver_remove_file(sysfs, &driver_attr_version); |
5585 | } | 5585 | } |
5586 | 5586 | ||
5587 | /* | 5587 | /* |
@@ -5953,7 +5953,7 @@ static int __init init_osst(void) | |||
5953 | if (err) | 5953 | if (err) |
5954 | goto err_out_chrdev; | 5954 | goto err_out_chrdev; |
5955 | 5955 | ||
5956 | err = osst_create_driverfs_files(&osst_template.gendrv); | 5956 | err = osst_create_sysfs_files(&osst_template.gendrv); |
5957 | if (err) | 5957 | if (err) |
5958 | goto err_out_scsidrv; | 5958 | goto err_out_scsidrv; |
5959 | 5959 | ||
@@ -5973,7 +5973,7 @@ static void __exit exit_osst (void) | |||
5973 | int i; | 5973 | int i; |
5974 | struct osst_tape * STp; | 5974 | struct osst_tape * STp; |
5975 | 5975 | ||
5976 | osst_remove_driverfs_files(&osst_template.gendrv); | 5976 | osst_remove_sysfs_files(&osst_template.gendrv); |
5977 | scsi_unregister_driver(&osst_template.gendrv); | 5977 | scsi_unregister_driver(&osst_template.gendrv); |
5978 | unregister_chrdev(OSST_MAJOR, "osst"); | 5978 | unregister_chrdev(OSST_MAJOR, "osst"); |
5979 | osst_sysfs_cleanup(); | 5979 | osst_sysfs_cleanup(); |