mfd: Remove copy from WM831x I2C write function
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 17 Mar 2011 21:40:51 +0000 (21:40 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 23 Mar 2011 09:42:09 +0000 (10:42 +0100)
commit4c4d887822070410e3be519e1a4ff933fb899ba8
tree0e7b58b1d53d42b745846c7456317c1e1e413da1
parentaad343107b4c153dd9f3ffc3d0f32558a25438e9
mfd: Remove copy from WM831x I2C write function

This saves us allocating an array on the stack, giving a meaningless
performance improvement and ensuring that if drivers ever do large writes
we'll not allocate large arrays on the stack.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm831x-i2c.c