From: Seth Jennings Date: Tue, 20 Aug 2013 17:13:03 +0000 (-0500) Subject: drivers: base: refactor add_memory_section() to add_memory_block() X-Git-Tag: v3.12-rc1~184^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb5e39b8038be913030a7b01d4396cfa5f9ded7b;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed