diff options
author | Len Brown <len.brown@intel.com> | 2005-12-06 17:31:30 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-12-06 17:31:30 -0500 |
commit | 3d5271f9883cba7b54762bc4fe027d4172f06db7 (patch) | |
tree | ab8a881a14478598a0c8bda0d26c62cdccfffd6d /drivers/char/istallion.c | |
parent | 378b2556f4e09fa6f87ff0cb5c4395ff28257d02 (diff) | |
parent | 9115a6c787596e687df03010d97fccc5e0762506 (diff) |
Pull release into acpica branch
Diffstat (limited to 'drivers/char/istallion.c')
-rw-r--r-- | drivers/char/istallion.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/char/istallion.c b/drivers/char/istallion.c index 9c19e5435a11..ce3bc0d45f1f 100644 --- a/drivers/char/istallion.c +++ b/drivers/char/istallion.c | |||
@@ -860,10 +860,9 @@ static void __exit istallion_module_exit(void) | |||
860 | if ((i = unregister_chrdev(STL_SIOMEMMAJOR, "staliomem"))) | 860 | if ((i = unregister_chrdev(STL_SIOMEMMAJOR, "staliomem"))) |
861 | printk("STALLION: failed to un-register serial memory device, " | 861 | printk("STALLION: failed to un-register serial memory device, " |
862 | "errno=%d\n", -i); | 862 | "errno=%d\n", -i); |
863 | if (stli_tmpwritebuf != (char *) NULL) | 863 | |
864 | kfree(stli_tmpwritebuf); | 864 | kfree(stli_tmpwritebuf); |
865 | if (stli_txcookbuf != (char *) NULL) | 865 | kfree(stli_txcookbuf); |
866 | kfree(stli_txcookbuf); | ||
867 | 866 | ||
868 | for (i = 0; (i < stli_nrbrds); i++) { | 867 | for (i = 0; (i < stli_nrbrds); i++) { |
869 | if ((brdp = stli_brds[i]) == (stlibrd_t *) NULL) | 868 | if ((brdp = stli_brds[i]) == (stlibrd_t *) NULL) |
@@ -5246,7 +5245,8 @@ int __init stli_init(void) | |||
5246 | devfs_mk_cdev(MKDEV(STL_SIOMEMMAJOR, i), | 5245 | devfs_mk_cdev(MKDEV(STL_SIOMEMMAJOR, i), |
5247 | S_IFCHR | S_IRUSR | S_IWUSR, | 5246 | S_IFCHR | S_IRUSR | S_IWUSR, |
5248 | "staliomem/%d", i); | 5247 | "staliomem/%d", i); |
5249 | class_device_create(istallion_class, MKDEV(STL_SIOMEMMAJOR, i), | 5248 | class_device_create(istallion_class, NULL, |
5249 | MKDEV(STL_SIOMEMMAJOR, i), | ||
5250 | NULL, "staliomem%d", i); | 5250 | NULL, "staliomem%d", i); |
5251 | } | 5251 | } |
5252 | 5252 | ||