Skip to content

Commit 8d14bfb

Browse files
rddunlapmartinkpetersen
authored andcommitted
scsi: docs: Remove init_this_scsi_driver()
Finish removing mention of init_this_scsi_driver() that was removed ages ago. Fixes: 83c9f08 ("scsi: remove the old scsi_module.c initialization model") Signed-off-by: Randy Dunlap <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: Christoph Hellwig <[email protected]> Cc: Martin K. Petersen <[email protected]> Cc: James E.J. Bottomley <[email protected]> Cc: Jonathan Corbet <[email protected]> Cc: [email protected] Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 9db7a47 commit 8d14bfb

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

Documentation/scsi/scsi_mid_low_api.rst

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ Interface Functions
625625
===================
626626
Interface functions are supplied (defined) by LLDs and their function
627627
pointers are placed in an instance of struct scsi_host_template which
628-
is passed to scsi_host_alloc() [or scsi_register() / init_this_scsi_driver()].
628+
is passed to scsi_host_alloc() or scsi_register().
629629
Some are mandatory. Interface functions should be declared static. The
630630
accepted convention is that driver "xyz" will declare its sdev_configure()
631631
function as::
@@ -636,8 +636,8 @@ and so forth for all interface functions listed below.
636636

637637
A pointer to this function should be placed in the 'sdev_configure' member
638638
of a "struct scsi_host_template" instance. A pointer to such an instance
639-
should be passed to the mid level's scsi_host_alloc() [or scsi_register() /
640-
init_this_scsi_driver()].
639+
should be passed to the mid level's scsi_host_alloc() or scsi_register().
640+
.
641641

642642
The interface functions are also described in the include/scsi/scsi_host.h
643643
file immediately above their definition point in "struct scsi_host_template".
@@ -817,10 +817,6 @@ Details::
817817
* The SCSI_IOCTL_PROBE_HOST ioctl yields the string returned by this
818818
* function (or struct Scsi_Host::name if this function is not
819819
* available).
820-
* In a similar manner, init_this_scsi_driver() outputs to the console
821-
* each host's "info" (or name) for the driver it is registering.
822-
* Also if proc_info() is not supplied, the output of this function
823-
* is used instead.
824820
*
825821
* Optionally defined in: LLD
826822
**/

0 commit comments

Comments
 (0)