commit | dba7997a87cd12b815c0d58b2a0522a8bb0cf5ec | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Tue Apr 22 22:16:47 2008 +0200 |
committer | Jean Delvare <khali@hyperion.delvare> | Tue Apr 22 22:16:47 2008 +0200 |
tree | f64fc267508c3136c988562df6eddd7b9f4a15c9 | |
parent | 838349b5c6454ebce8ec3e8c448941cf8608ffea [diff] |
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: Jean Delvare <khali@linux-fr.org>