Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/i2c/busses
Jean Delvare b119c6c952 i2c: __must_check fixes (core drivers)
i2c: __must_check fixes (core drivers)

Check for error on sysfs file creation.
Check for error on device registration.
Check for error on class device registration.

Greg, I am not familiar with completion, can you please tell me if I
need to take care of it in the error paths (as I did in this patch,
see /* Needed? */ comments), or if it isn't needed?

These patches were tested, including forced errors, so they should work
fine. But of course more testing can't hurt.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-09-26 15:38:50 -07:00
..
i2c-ali15x3.c
i2c-ali1535.c [PATCH] I2C: i2c-ali1535: Drop redundant mutex 2006-03-23 14:21:54 -08:00
i2c-ali1563.c
i2c-amd756-s4882.c [PATCH] I2C: i2c-amd756-s4882: Improve static mutex initialization 2006-03-23 14:21:54 -08:00
i2c-amd756.c
i2c-amd8111.c
i2c-au1550.c
i2c-au1550.h
i2c-elektor.c
i2c-hydra.c
i2c-i801.c [PATCH] i2c-801: 64bit resource fix 2006-06-30 11:25:41 -07:00
i2c-i810.c
i2c-ibm_iic.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
i2c-ibm_iic.h
i2c-iop3xx.c [PATCH] i2c-iop3xx: Avoid addressing self 2006-07-12 15:43:06 -07:00
i2c-iop3xx.h [PATCH] i2c-iop3xx: Avoid addressing self 2006-07-12 15:43:06 -07:00
i2c-isa.c i2c: __must_check fixes (core drivers) 2006-09-26 15:38:50 -07:00
i2c-ite.c [PATCH] i2c: Fix i2c-ite name initialization 2006-03-23 14:21:54 -08:00
i2c-ixp4xx.c [PATCH] I2C: i2c-ixp4xx: Add hwmon class 2006-03-23 14:21:55 -08:00
i2c-ixp2000.c
i2c-mpc.c [PATCH] irq-flags: misc drivers: Use the new IRQF_ constants 2006-07-02 13:58:50 -07:00
i2c-mv64xxx.c [PATCH] handle errors returned by platform_get_irq*() 2006-03-20 13:42:57 -08:00
i2c-nforce2.c [PATCH] I2C: i2c-nforce2: Add support for the nForce4 MCP51 and MCP55 2006-06-22 11:10:33 -07:00
i2c-ocores.c [PATCH] i2c-ocores: Minor cleanups 2006-06-22 11:10:34 -07:00
i2c-parport-light.c [PATCH] i2c-parport: Make type parameter mandatory 2006-04-14 11:18:34 -07:00
i2c-parport.c [PATCH] i2c-parport: Make type parameter mandatory 2006-04-14 11:18:34 -07:00
i2c-parport.h [PATCH] i2c-parport: Make type parameter mandatory 2006-04-14 11:18:34 -07:00
i2c-pca-isa.c
i2c-piix4.c [PATCH] I2C: i2c-piix4: Document the IBM problem more clearly 2006-06-22 11:10:32 -07:00
i2c-powermac.c Merge branch 'merge' 2006-08-01 10:37:25 +10:00
i2c-prosavage.c
i2c-pxa.c [PATCH] irq-flags: misc drivers: Use the new IRQF_ constants 2006-07-02 13:58:50 -07:00
i2c-rpx.c
i2c-s3c2410.c [PATCH] irq-flags: misc drivers: Use the new IRQF_ constants 2006-07-02 13:58:50 -07:00
i2c-savage4.c
i2c-sibyte.c
i2c-sis96x.c [PATCH] i2c-sis96x: Remove an init-time log message 2006-04-14 11:18:34 -07:00
i2c-sis630.c
i2c-sis5595.c
i2c-stub.c
i2c-via.c
i2c-viapro.c
i2c-voodoo3.c
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2006-06-22 22:11:30 -07:00
Makefile [PATCH] i2c: New bus driver for the OpenCores I2C controller 2006-06-22 11:10:33 -07:00
scx200_acb.c [PATCH] SCX200_ACB: eliminate spurious timeout errors 2006-08-06 08:57:49 -07:00
scx200_i2c.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00