Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2c003e8e authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare
Browse files

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: default avatarJean Delvare <khali@linux-fr.org>
Laughed-at-by: default avatarMark M. Hoffman <mhoffman@lightlink.com>
parent 813e30e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment