android_kernel_xiaomi_sm7250/drivers/i2c
Jean Delvare 6d072d78f8 i2c/tps65010: Add missing intialization of client data
tps65010_remove() calls i2c_get_clientdata(client) but the client data
is never set during initialization, so it gets a NULL pointer at best.

I guess it was never spotted because the tps65010 driver is typically
not built modular so this function is discarded.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: David Brownell <dbrownell@users.sourceforge.net>
2008-04-29 23:11:38 +02:00
..
algos i2c-algo-pca: Extend for future drivers 2008-04-22 22:16:46 +02:00
busses i2c-sis5595: Minor cleanups in sis5595_access 2008-04-29 23:11:38 +02:00
chips i2c/tps65010: Add missing intialization of client data 2008-04-29 23:11:38 +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: Replace remaining __FUNCTION__ occurrences 2008-04-22 22:16:47 +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
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