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:
5cfc64c
)
base/platform: Simplifications for NULL platform data/resources handling
author
Anton Vorontsov
<cbouatmailru@gmail.com>
Tue, 7 Sep 2010 13:31:54 +0000
(17:31 +0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 22 Oct 2010 17:16:43 +0000
(10:16 -0700)
There's no need to explicitly check for data and resources being NULL,
as platform_device_add_{data,resources}() do this internally nowadays.
This makes the code more linear and less indented.
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
No differences found