Skip to content
Commit 7315f0cc authored by Gu Zheng's avatar Gu Zheng Committed by Greg Kroah-Hartman
Browse files

drivers/base/memory.c: introduce help macro to_memory_block



Introduce help macro to_memory_block to hide the conversion(device-->memory_block),
just clean up.

Reviewed-by: default avatarYasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Signed-off-by: default avatarGu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bd8c154a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment