hwmon: (max1111) Avoid extra memory allocations
authorJean Delvare <khali@linux-fr.org>
Mon, 25 Jul 2011 19:46:10 +0000 (21:46 +0200)
committerJean Delvare <khali@endymion.delvare>
Mon, 25 Jul 2011 19:46:10 +0000 (21:46 +0200)
We can allocate the tx and rx buffers as part of our data structure.
Doing so is faster and spares memory.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Tested-by: Stanislav Brabec <utx@penguin.cz>

No differences found