[PATCH] DVB: lgdt330x check callback fix
authorMichael Krufky <mkrufky@linuxtv.org>
Tue, 6 Sep 2005 22:19:40 +0000 (15:19 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 7 Sep 2005 23:58:02 +0000 (16:58 -0700)
commitdc9ca2af4917ce4e545fa3eb1d845c555128cabc
treead7e5cdc1ebd0767fc7bf717c3d9340efc2af38b
parent2684f5c74d5c2d3eb6ddbb599a8c89a06c5fa420
[PATCH] DVB: lgdt330x check callback fix

Most of the patch is whitespace cleanup, but more importantly, this patch
checks to see whether a callback is set before calling it.  On cx88 boards
(currently the only boards using lgdt330x in 2.6.13) every callback is set.
However, newer drivers currently in development leave a callback undefined,
and lgdt330x must not call it if it isn't defined.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/dvb/frontends/lgdt330x.c