Hi, This series refines error history functions, do vop cleanups and introduce a new event_notify vop to allow vendor to get notification of important events. Changes since v2: - Add patches for vop cleanups - Introduce phy_initialization helper and replace direct invoking in ufs-cdns and ufs-dwc drivers/scsi/ufs/cdns-pltfrm - Introduce event_notify vop implemntation in ufs-mediatek Changes since v1: - Change notify_event() to event_notify() to follow vop naming covention Stanley Chu (8): scsi: ufs: Remove unused setup_regulators variant function scsi: ufs: Introduce phy_initialization helper scsi: ufs-cdns: Use phy_initialization helper scsi: ufs-dwc: Use phy_initialization helper scsi: ufs: Add error history for abort event in UFS Device W-LUN scsi: ufs: Refine error history functions scsi: ufs: Introduce event_notify variant function scsi: ufs-mediatek: Introduce event_notify implementation drivers/scsi/ufs/cdns-pltfrm.c | 3 +- drivers/scsi/ufs/ufs-mediatek-trace.h | 37 ++++++++ drivers/scsi/ufs/ufs-mediatek.c | 10 ++ drivers/scsi/ufs/ufshcd-dwc.c | 11 +-- drivers/scsi/ufs/ufshcd.c | 132 ++++++++++++++------------ drivers/scsi/ufs/ufshcd.h | 100 +++++++++---------- 6 files changed, 173 insertions(+), 120 deletions(-) create mode 100644 drivers/scsi/ufs/ufs-mediatek-trace.h -- 2.18.0