aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c-algo-bit.h
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2006-12-10 21:21:30 +0100
committerJean Delvare <khali@arrakis.delvare>2006-12-10 21:21:30 +0100
commit2c003e8e1c0c241aec162ba9ec781089c5b2ff3f (patch)
tree612ab73ce5a6810bd3fb459520798b7a62e670d3 /include/linux/i2c-algo-bit.h
parenti2c: New Atmel AT91 bus driver (diff)
downloadlinux-dev-2c003e8e1c0c241aec162ba9ec781089c5b2ff3f.tar.xz
linux-dev-2c003e8e1c0c241aec162ba9ec781089c5b2ff3f.zip
i2c: Use put_user instead of copy_to_user where possible
This speeds up the I2C_FUNCS ioctl by 5 to 8% in my tests. Signed-off-by: Jean Delvare <khali@linux-fr.org> Laughed-at-by: Mark M. Hoffman <mhoffman@lightlink.com>
Diffstat (limited to 'include/linux/i2c-algo-bit.h')
0 files changed, 0 insertions, 0 deletions