WSL2-Linux-Kernel/drivers/i2c
David Brownell 6ea438ec8d i2c: i2c_use_client() defends against NULL
Defend the i2c refcount calls against NULL pointers, as is important
(and conventional) for such calls.  Note that none of the current
callers of i2c_use_client() use its return value.

[JD: I hate this but apparently all the other subsystems do it so...]

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
2008-07-14 22:38:24 +02:00
..
algos i2c-algo-pca: Extend for future drivers 2008-04-22 22:16:46 +02:00
busses i2c: Group bus drivers by type 2008-07-14 22:38:23 +02:00
chips i2c/max6875: Really prevent 24RF08 corruption 2008-05-18 20:49:41 +02:00
Kconfig [S390] Kconfig: menus with depends on HAS_IOMEM. 2007-05-10 15:46:07 +02:00
Makefile i2c: Add i2c_board_info and i2c_new_device() 2007-05-01 23:26:31 +02:00
i2c-boardinfo.c i2c: Add i2c_board_info and i2c_new_device() 2007-05-01 23:26:31 +02:00
i2c-core.c i2c: i2c_use_client() defends against NULL 2008-07-14 22:38:24 +02:00
i2c-core.h i2c: Add i2c_board_info and i2c_new_device() 2007-05-01 23:26:31 +02:00
i2c-dev.c i2c-dev: Split i2cdev_ioctl 2008-04-22 22:16:47 +02:00