git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f2f7e0
)
staging: comedi: avoid a put_device(), get_device() sequence
author
Ian Abbott
<abbotti@mev.co.uk>
Mon, 15 Oct 2012 12:07:31 +0000
(13:07 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 19:43:37 +0000
(12:43 -0700)
In `comedi_set_hw_dev()`, if there is no change to `dev->hw_dev` (and it
is not `NULL`), don't bother putting and getting the device.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found