From: Jean Delvare Date: Sun, 10 Dec 2006 20:21:30 +0000 (+0100) Subject: i2c: Use put_user instead of copy_to_user where possible X-Git-Tag: v2.6.20-rc1~146^2~2^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c003e8e1c0c241aec162ba9ec781089c5b2ff3f;p=pandora-kernel.git 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 Laughed-at-by: Mark M. Hoffman --- Reading git-diff-tree failed