summaryrefslogtreecommitdiffstats
path: root/drivers/pnp/resource.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2007-10-17 08:31:09 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 17:43:04 +0200
commit5bfc43a0b65a11ca1e9edfa0c2bd34ce43da0346 (patch)
treeeaf5d1d10cfd25c9523336864b7b747cd1db7cca /drivers/pnp/resource.c
parentPNP: remove null pointer checks (diff)
downloadlinux-5bfc43a0b65a11ca1e9edfa0c2bd34ce43da0346.tar.xz
linux-5bfc43a0b65a11ca1e9edfa0c2bd34ce43da0346.zip
PNP: simplify PNP card error handling
No functional change; just return errors early instead of putting the main part of the function inside an "if" statement. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Cc: Adam Belay <ambx1@neo.rr.com> Cc: Len Brown <lenb@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pnp/resource.c')
0 files changed, 0 insertions, 0 deletions