aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorFerenc Wagner <wferi@niif.hu>2011-01-07 15:17:47 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-03 16:36:40 -0800
commit481e20799bdcf98fd5a1d829d187239a90b15395 (patch)
tree70e2560564252c84edf64ff3822d4ac9702a9b5a /mm
parentmemory hotplug: sysfs probe routine should add all memory sections (diff)
downloadlinux-dev-481e20799bdcf98fd5a1d829d187239a90b15395.tar.xz
linux-dev-481e20799bdcf98fd5a1d829d187239a90b15395.zip
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions