diff options
author | Jean Delvare | 2005-04-19 06:16:58 +0200 |
---|---|---|
committer | Greg KH | 2005-04-19 06:16:58 +0200 |
commit | 86b5ac878d4a63c772d03c5017b72cc799a8f2f2 (patch) | |
tree | ef4138c02aa447610146df63749e07c1859c3509 /drivers/i2c/chips/it87.c | |
parent | [PATCH] w1_smem: w1 ID is only 8 bytes long. (diff) | |
download | kernel-qcow2-linux-86b5ac878d4a63c772d03c5017b72cc799a8f2f2.tar.gz kernel-qcow2-linux-86b5ac878d4a63c772d03c5017b72cc799a8f2f2.tar.xz kernel-qcow2-linux-86b5ac878d4a63c772d03c5017b72cc799a8f2f2.zip |
[PATCH] I2C: via686a cleanups
Here comes a small cleanup patch for the via686a driver. I noticed the
following two non-fatal problems:
1* The device parent is explicitely set, but it's not needed because the
i2c core will do as the client is registered.
2* snprintf is used where strlcpy would suffice.
Fixing them brings the via686a driver in line with what other similar
drivers do.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/i2c/chips/it87.c')
0 files changed, 0 insertions, 0 deletions