From: Andrey Borzenkov Date: Sun, 15 Feb 2009 09:51:18 +0000 (+0300) Subject: orinoco: do not resgister NULL pm_notifier function X-Git-Tag: v2.6.29-rc7~13^2~17^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c138dcee7d4a9e68cce546a45968bbf5dbfce80;p=pandora-kernel.git orinoco: do not resgister NULL pm_notifier function With DEBUG_NOTIFIERS it results in [11330.890966] WARNING: at /home/bor/src/linux-git/kernel/notifier.c:88 notifier_call_chain+0x91/0xa0() [11330.890977] Hardware name: PORTEGE 4000 [11330.890983] Invalid notifier called! ... Without DEBUG_NOTIFIERS it most likely crashes on NULL pointer. Signed-off-by: Andrey Borzenkov Acked-by: David Kilroy Signed-off-by: John W. Linville --- Reading git-diff-tree failed