]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit3e6716e748609a3a899e8d670e42832921bd45bc
treecfaf9ab1a9ee897959651acc681f448e1ea01311
parentb6ab126211e2ab17eecbd063b99742a6b04b228e
[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