summaryrefslogtreecommitdiff
path: root/drivers/pnp/quirks.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2007-10-17 10:31:09 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 19:43:04 +0400
commit5bfc43a0b65a11ca1e9edfa0c2bd34ce43da0346 (patch)
treeeaf5d1d10cfd25c9523336864b7b747cd1db7cca /drivers/pnp/quirks.c
parent402b310cb6e523779149139b20f46899a890e963 (diff)
downloadlinux-5bfc43a0b65a11ca1e9edfa0c2bd34ce43da0346.tar.xz
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/quirks.c')
0 files changed, 0 insertions, 0 deletions