# Re: \[PATCH 056/493\] edac: remove use of \_\_devexit\_p

- From: Borislav Petkov \<bp@alien8.de\>
- Date: 2012-11-22 13:52:25 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2012/11/9471783
- Thread: https://ratatoskr.run/linuxppc-dev/2012/11/9471772/t.md

```text
On Mon, Nov 19, 2012 at 01:20:05PM -0500, Bill Pemberton wrote:
> CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
> needed.

Erm, I don't understand. __devexit_p is defined also for modules not
only for CONFIG_HOTPLUG:

#if defined(MODULE) || defined(CONFIG_HOTPLUG)
#define __devexit_p(x) x
#else
#define __devexit_p(x) NULL
#endif

AFAICT, we cannot remove it yet no?

Thanks.

-- 
Regards/Gruss,
Boris.
```
