dect
/
linux-2.6
Archived
13
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
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
..
algos [PATCH] i2c-algo-bit: Wipe out dead code 2006-07-12 15:43:07 -07:00
busses i2c: __must_check fixes (core drivers) 2006-09-26 15:38:50 -07:00
chips [PATCH] i2c: tps65010 build fixes 2006-08-26 13:05:12 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] hwmon: hwmon vs i2c, second round (07/11) 2005-09-05 09:14:22 -07:00
i2c-core.c i2c: __must_check fixes (core drivers) 2006-09-26 15:38:50 -07:00
i2c-dev.c i2c-dev: Drop the client template 2006-09-26 15:38:50 -07:00