Commit dba7997a authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare

i2c-dev: Split i2cdev_ioctl

Split the handling of the I2C_RDWR and I2C_SMBUS ioctls to their own
functions. This limits the stack usage, saves one level of indentation
and makes the code more readable.
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 838349b5
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment