Searched hist:"481 e2079" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/base/ |
H A D | core.c | 481e2079 Fri Jan 07 08:17:47 CST 2011 Ferenc Wagner <wferi@niif.hu> driver core: Replace the dangerous to_root_device macro with an inline function
The original macro worked only when applied to variables named 'dev'. While this could have been fixed by simply renaming the macro argument, a more type-safe replacement by an inline function is preferred.
Signed-off-by: Ferenc Wagner <wferi@niif.hu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|