From: Mark Brown Date: Wed, 20 Jul 2011 20:47:22 +0000 (+0100) Subject: regmap: Just send the buffer directly for single register writes X-Git-Tag: v3.2-rc1~181^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2547e201b3693f91d643fc0d21ef86171894b59b;p=pandora-kernel.git regmap: Just send the buffer directly for single register writes When doing a single register write we use work_buf for both the register and the value with the buffer formatted for sending directly to the device so we can just do a write() directly. This saves allocating a temporary buffer if we can't do gather writes and is likely to be faster than doing a gather write. Signed-off-by: Mark Brown --- Reading git-diff-tree failed