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:
53703a4
)
staging: iio: tsl2583: Use devm_iio_device_alloc
author
Sachin Kamat
<sachin.kamat@linaro.org>
Thu, 5 Sep 2013 09:29:00 +0000
(10:29 +0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Sat, 7 Sep 2013 20:55:54 +0000
(21:55 +0100)
devm_iio_device_alloc makes the code simple. While at it also
fixed an uninitialized return with -EINVAL.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: J. August Brenner <jbrenner@taosinc.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
No differences found