All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [patch] hwmon: w83781d - check return code of
@ 2006-08-31 16:25 Jim Cromie
  2006-09-21  8:54 ` Jean Delvare
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Jim Cromie @ 2006-08-31 16:25 UTC (permalink / raw)
  To: lm-sensors


add 2 attr-file groups (for base and model-specific attrs respectively),
create the base group with single call to sysfs_create_group,
check the return code on individual calls to device_create_file for each
of the model-specific attr-files.

Signed-off-by:  Jim Cromie <jim.cromie at gmail.com>

This is compile-tested only, needs validation on hardware, or
very thorough inspection.

$ diffstat diff.w83781d-checkrc.txt
 w83781d.c |  192 
++++++++++++++++++++++++++++++++++++++------------------------
 1 files changed, 119 insertions(+), 73 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff.w83781d-checkrc.txt
Type: plain/text
Size: 10002 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20060831/1f312e73/attachment.bin 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-09-23  8:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-31 16:25 [lm-sensors] [patch] hwmon: w83781d - check return code of Jim Cromie
2006-09-21  8:54 ` Jean Delvare
2006-09-22  4:31 ` Jim Cromie
2006-09-22  7:50 ` Jean Delvare
2006-09-22 22:25 ` Jim Cromie
2006-09-23  8:15 ` Jean Delvare

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.