[PATCH] pcihp_skeleton.c cleanup
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Thu, 26 Jan 2006 01:01:35 +0000 (10:01 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Mar 2006 22:35:11 +0000 (14:35 -0800)
commit287588b3537d0ce56a83f54d0e6ffcd60e54b569
tree1c0747a10543f327de97ff90728bb445055423e4
parentef3be54777901e570185089f21fbe4498453f67e
[PATCH] pcihp_skeleton.c cleanup

This patch cleans up pcihp_skelton.c as follows.

  o Move slot name area into struct slot.
  o Replace kmalloc with kzalloc and clean up the arg of sizeof()
  o Fix the wrong use of get_*_status() functions.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/pcihp_skeleton.c