diff options
author | Jean Delvare <khali@linux-fr.org> | 2011-07-25 23:46:10 +0400 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2011-07-25 23:46:10 +0400 |
commit | d737c09cfb78424276e3eb45d1e7af578a451fd4 (patch) | |
tree | b8c9430670ce30c9d2100c87def3720bbe24f66f /drivers/hwmon/sht15.c | |
parent | 3d30f9e69f152d8667b3b13ac6f566e6e76ef7b9 (diff) | |
download | linux-d737c09cfb78424276e3eb45d1e7af578a451fd4.tar.xz |
hwmon: (max1111) Avoid extra memory allocations
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>
Diffstat (limited to 'drivers/hwmon/sht15.c')
0 files changed, 0 insertions, 0 deletions