isci: unify port stop handlers
Implement the stop handlers directly in scic_sds_port_stop() Reported-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Piotr Sawicki <piotr.sawicki@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
This commit is contained in:

committed by
Dan Williams

parent
d76f71d988
commit
8bc80d3030
@@ -312,12 +312,6 @@ typedef enum sci_status (*scic_sds_port_io_request_handler_t)(struct scic_sds_po
|
||||
struct scic_sds_request *);
|
||||
|
||||
struct scic_sds_port_state_handler {
|
||||
/**
|
||||
* The stop_handler specifies the method invoked when a user
|
||||
* attempts to stop a port.
|
||||
*/
|
||||
scic_sds_port_handler_t stop_handler;
|
||||
|
||||
/**
|
||||
* The destruct_handler specifies the method invoked when attempting to
|
||||
* destruct a port.
|
||||
@@ -412,6 +406,7 @@ enum sci_status scic_sds_port_initialize(
|
||||
void __iomem *viit_registers);
|
||||
|
||||
enum sci_status scic_sds_port_start(struct scic_sds_port *sci_port);
|
||||
enum sci_status scic_sds_port_stop(struct scic_sds_port *sci_port);
|
||||
|
||||
enum sci_status scic_sds_port_add_phy(
|
||||
struct scic_sds_port *sci_port,
|
||||
|
Reference in New Issue
Block a user