[PARISC] pdc_stable: More robust sysfs error checking
authorThibaut VARENE <varenet@parisc-linux.org>
Wed, 11 Jan 2006 01:48:01 +0000 (20:48 -0500)
committerKyle McMartin <kyle@duet.int.mcmartin.ca>
Wed, 11 Jan 2006 02:52:36 +0000 (21:52 -0500)
commit4b991da7fec9b87acf86c250332ce15c2811255b
treee5d048905d82f86dde8182968ce58658c828e460
parent9b9ff2e16a4609a7ab39b12e67fc56b51c8cd1f4
[PARISC] pdc_stable: More robust sysfs error checking

pdc_stable 0.10:
As mentioned on LKML, pdc_stable wasn't checky enough on the return
values of some calls. This patch makes it more robust to errors when
registering objects in sysfs.

Signed-off-by: Thibaut VARENE <varenet@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
drivers/parisc/pdc_stable.c