Skip to content

Commit

Permalink
rapidio: fix device reference counting
Browse files Browse the repository at this point in the history
Fix RapidIO device reference counting.

Signed-of-by: Eugene Surovegin <ebs@ebshome.net>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Eugene Surovegin authored and Linus Torvalds committed Jul 11, 2008
1 parent fb0e7e1 commit a7de390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/rapidio/rio-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ static int rio_device_probe(struct device *dev)
if (error >= 0) {
rdev->driver = rdrv;
error = 0;
} else
rio_dev_put(rdev);
}
}
return error;
}
Expand Down

0 comments on commit a7de390

Please sign in to comment.