summaryrefslogtreecommitdiff
path: root/drivers/md/dm-delay.c
diff options
context:
space:
mode:
authorSeth Jennings <sjenning@linux.vnet.ibm.com>2013-08-20 17:13:03 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-21 18:49:47 (GMT)
commitcb5e39b8038be913030a7b01d4396cfa5f9ded7b (patch)
tree63b185655cf8f74ecdc3b97a51fe76f85a75fc73 /drivers/md/dm-delay.c
parent37171e3cb7a2f6fc594b524c940beb1ce85cc935 (diff)
downloadlinux-fsl-qoriq-cb5e39b8038be913030a7b01d4396cfa5f9ded7b.tar.xz
drivers: base: refactor add_memory_section() to add_memory_block()
Right now memory_dev_init() maintains the memory block pointer between iterations of add_memory_section(). This is nasty. This patch refactors add_memory_section() to become add_memory_block(). The refactoring pulls the section scanning out of memory_dev_init() and simplifies the signature. Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/md/dm-delay.c')
0 files changed, 0 insertions, 0 deletions