WSL2-Linux-Kernel/drivers/i2c
Sven Wegener e74783ec3c i2c-dev: Return correct error code on class_create() failure
We need to convert the error pointer from class_create(), else we'll return the
successful return code from register_chrdev() on failure.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
2008-09-24 13:39:21 +02:00
..
algos i2c: Let users select algorithm drivers manually again 2008-08-10 22:56:15 +02:00
busses i2c-powermac: Fix section for probe and remove functions 2008-09-24 13:39:21 +02:00
chips USB: isp1301: fix compilation 2008-08-13 17:32:56 -07:00
Kconfig i2c: Let users select algorithm drivers manually again 2008-08-10 22:56:15 +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: Prevent log spam on some DVB adapters 2008-08-28 08:33:23 +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: Return correct error code on class_create() failure 2008-09-24 13:39:21 +02:00