/* sas_release_transport - release SAS transport template instance @t: transport template instance  */
void sas_release_transport(struct scsi_transport_template *t)
/* sas_release_transport - release SAS transport template instance @t: transport template instance  */
void sas_release_transport(struct scsi_transport_template *t)
{
	struct sas_internal *i = to_sas_internal(t);
	transport_container_unregister(&i->t.host_attrs);
	transport_container_unregister(&i->phy_attr_cont);
	transport_container_unregister(&i->port_attr_cont);
	transport_container_unregister(&i->rphy_attr_cont);
	transport_container_unregister(&i->end_dev_attr_cont);
	transport_container_unregister(&i->expander_attr_cont);
	kfree(i);
}