diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2007-10-16 23:31:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 08:43:04 -0700 |
commit | 5bfc43a0b65a11ca1e9edfa0c2bd34ce43da0346 (patch) | |
tree | eaf5d1d10cfd25c9523336864b7b747cd1db7cca /drivers/pnp/driver.c | |
parent | 402b310cb6e523779149139b20f46899a890e963 (diff) | |
download | blackbird-op-linux-5bfc43a0b65a11ca1e9edfa0c2bd34ce43da0346.tar.gz blackbird-op-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/driver.c')
0 files changed, 0 insertions, 0 deletions