scsi: libsas: make the lldd_port_deformed method optional
[platform/kernel/linux-rpi.git] / drivers / scsi / libsas / sas_discover.c
index 0148ae6..dde433a 100644 (file)
@@ -260,7 +260,7 @@ static void sas_suspend_devices(struct work_struct *work)
         * phy_list is not being mutated
         */
        list_for_each_entry(phy, &port->phy_list, port_phy_el) {
-               if (si->dft->lldd_port_formed)
+               if (si->dft->lldd_port_deformed)
                        si->dft->lldd_port_deformed(phy);
                phy->suspended = 1;
                port->suspended = 1;