diff options
author | Jean Delvare <khali@linux-fr.org> | 2011-07-25 21:46:10 +0200 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2011-07-25 21:46:10 +0200 |
commit | d737c09cfb78424276e3eb45d1e7af578a451fd4 (patch) | |
tree | b8c9430670ce30c9d2100c87def3720bbe24f66f /drivers/hwmon/sht15.c | |
parent | hwmon: (it87) Add chassis intrusion detection support (diff) | |
download | linux-d737c09cfb78424276e3eb45d1e7af578a451fd4.tar.xz linux-d737c09cfb78424276e3eb45d1e7af578a451fd4.zip |
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