aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorAkinobu Mita <[email protected]>2007-04-23 11:54:41 +0200
committerJaroslav Kysela <[email protected]>2007-05-11 16:56:08 +0200
commit479ef4369f65abf4c3e7bbe44ef934a465257ee1 (patch)
tree1ac2fe99d0e40178253002a8decfab6b5a70b924 /include/linux/debugobjects.h
parent9422db4018cbfaa1a330b018a2bf6527d282b417 (diff)
[ALSA] sound: fix incorrect use of platform_device_register()
The platform_device allocated by platform_device_alloc() should be added to the device hierarchy by platform_device_add() instead of platform_device_register(). Otherwise it will hit WARN_ON() in platform_device_register(). by illegal refcount. This patch fixes such incorrect usages in portman2x4 and mts64 drivers. Also it removes unnecessary trailing whitespaces. Signed-off-by: Akinobu Mita <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions