summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2003-04-01 03:47:14 -0800
committerLinus Torvalds <torvalds@penguin.transmeta.com>2003-04-01 03:47:14 -0800
commit462d189174cbb062db06fc995226f4b528c18774 (patch)
tree620ce316c37fffc3ab315661e212f1bb9ed5d9cf /include
parenta6e31edc1c7a46ac9297ac38c452c8d8f6c38679 (diff)
[PATCH] rio_linux.c misc_register patch
From: Chris Wilson <chris@qwirx.com> This function did check misc_register's return code, but made no effort to clean up if it failed, leaving a large amount of potential crud lying around. I moved the registration to the start of the function, so that the cleanup is trivial, and made sure the device gets unregistered in the cases where it would not have been registered at all before.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions