From: Bjorn Helgaas Date: Mon, 28 Apr 2008 22:33:54 +0000 (-0600) Subject: PNP: add pnp_alloc_dev() X-Git-Tag: v2.6.26-rc1~101^2^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bda1e4e5a3d976046378cd495a63e1ee0847deec;p=pandora-kernel.git PNP: add pnp_alloc_dev() Add pnp_alloc_dev() to allocate a struct pnp_dev and fill in the protocol, instance number, and initial PNP ID. Now it is always valid to use dev_printk() on any pnp_dev pointer. Signed-off-by: Bjorn Helgaas Acked-By: Rene Herman Signed-off-by: Len Brown --- Reading git-diff-tree failed