PNP: remove null pointer checks
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Wed, 15 Aug 2007 16:32:13 +0000 (10:32 -0600)
committerLen Brown <len.brown@intel.com>
Fri, 24 Aug 2007 05:27:24 +0000 (01:27 -0400)
commitb173491339b9ae7f1322241ce6228c1268513a39
treedca8b3a7021d7957d60023e34ac96a9df5215421
parent4f0217e30249ac0eb13b65ef64f2aee627465da2
PNP: remove null pointer checks

Remove some null pointer checks.  Null pointers in these areas indicate
programming errors, and I think it's better to oops immediately rather
than return an error that is easily ignored.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Acked-by: Adam Belay <abelay@novell.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/pnp/core.c
drivers/pnp/driver.c
drivers/pnp/isapnp/core.c
drivers/pnp/manager.c
drivers/pnp/resource.c