From: Tejun Heo Date: Tue, 25 Mar 2008 03:22:49 +0000 (+0900) Subject: libata: kill port_info->sht and ->irq_handler X-Git-Tag: v2.6.26-rc1~1150^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=959471936241bd83da7d0a76411cef6772140fe6;p=pandora-kernel.git libata: kill port_info->sht and ->irq_handler 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: Tejun Heo --- Reading git-diff-tree failed