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: NJean Delvare <khali@linux-fr.org> Laughed-at-by: NMark M. Hoffman <mhoffman@lightlink.com>
Showing
想要评论请 注册 或 登录