android_kernel_xiaomi_sm8350/drivers/i2c
Jean Delvare 86b5ac878d [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>
2005-04-18 21:16:58 -07:00
..
algos Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
busses [PATCH] i2c-i801: I2C patch for Intel ESB2 2005-04-16 15:24:45 -07:00
chips [PATCH] I2C: via686a cleanups 2005-04-18 21:16:58 -07:00
i2c-core.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i2c-dev.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i2c-sensor-detect.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i2c-sensor-vid.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00