]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] hpet: hpet driver cleanups
authorRandy Dunlap <randy_d_dunlap@linux.intel.com>
Sun, 30 Oct 2005 23:03:44 +0000 (15:03 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:31 +0000 (17:37 -0800)
commit54a6be2eae5b9e8c4a200e7191fde400062ce790
treecfaf9ab1a9ee897959651acc681f448e1ea01311
parent12d3d5ce230095e839ec55649b4a0a9b050b0675
[PATCH] hpet: hpet driver cleanups

- Use kzalloc() instead of kmalloc + memset.
- Clean/fix some printk's.
- Use NULL for pointers instead of 0.
- Combine hpet busy searching locations into a function call.

Signed-off-by: Randy Dunlap <randy_d_dunlap@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/hpet.c