aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/core.h
diff options
context:
space:
mode:
authorAnton Vorontsov <cbouatmailru@gmail.com>2010-09-07 17:31:54 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 10:16:43 -0700
commit807508c8ff9af6ce8f25c5ca5f3eb06a8e7d3286 (patch)
treed6e65154b1e26fa15f92e54cdf8829a9c5e9861b /include/sound/core.h
parentbase/platform: Safe handling for NULL platform data and resources (diff)
downloadlinux-dev-807508c8ff9af6ce8f25c5ca5f3eb06a8e7d3286.tar.xz
linux-dev-807508c8ff9af6ce8f25c5ca5f3eb06a8e7d3286.zip
base/platform: Simplifications for NULL platform data/resources handling
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>
Diffstat (limited to 'include/sound/core.h')
0 files changed, 0 insertions, 0 deletions