Skip to content
  • Tejun Heo's avatar
    libata: kill port_info->sht and ->irq_handler · 95947193
    Tejun Heo authored
    
    
    libata core layer doesn't care about sht or ->irq_handler.  Those are
    only of interest to the LLD during initialization.  This is confusing
    and has caused several drivers to have duplicate unused initializers
    for these fields.
    
    Currently only sata_nv uses these fields.  Make sata_nv use
    ->private_data, which is supposed to carry LLD-specific information,
    instead and kill ->sht and ->irq_handler.  nv_pi_priv structure is
    defined and struct literals are used to initialize private_data.
    Notational overhead is negligible.
    
    Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
    95947193