From: Bill Richardson Date: Wed, 18 Jun 2014 18:13:59 +0000 (-0700) Subject: mfd: cros_ec: Allow static din/dout buffers with cros_ec_register() X-Git-Tag: cleanup-for-v3.18~88^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ce701ae4e351d9407ec0b30f5f9dd56b6de4292;p=pandora-kernel.git mfd: cros_ec: Allow static din/dout buffers with cros_ec_register() The lower-level driver may want to provide its own buffers. If so, there's no need to allocate new ones. This already happens to work just fine (since we check for size of 0 and use devm allocation), but it's good to document it. [dianders: Resolved conflicts; documented that no code changes needed on mainline] Signed-off-by: Bill Richardson Signed-off-by: Doug Anderson Reviewed-by: Simon Glass Signed-off-by: Lee Jones --- Reading git-diff-tree failed