Commit 679be37d authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by James Bottomley

[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: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 2562d40e
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment