[PATCH] tmscsim: init / exit cleanup
On Sun, 23 May 2004, Christoph Hellwig wrote:
> these leaks. Maybe also merge dc390_init and dc390_init_one?
>
> Similarly I think DC390_release should be merged into dc390_remove_one.
Attached. Also fixed some __init / __devinit and __exit / __devexit
attributes. Although, would be good to have something like
#ifdef CONFIG_HOTPLUG_PCI
#define __pcidevinit
#define __pcidevinitdata
#define __pcidevexit
#define __pcidevexitdata
#else
#define __pcidevinit __init
#define __pcidevinitdata __initdata
#define __pcidevexit __exit
#define __pcidevexitdata __exitdata
#endif
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Showing
This diff is collapsed.
Please register or sign in to comment