serial: sh-sci: disable callback typo fix
authorMagnus Damm <damm@opensource.se>
Thu, 5 Nov 2009 14:34:57 +0000 (14:34 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 6 Nov 2009 08:23:04 +0000 (17:23 +0900)
commit345e5a7672f561b539b3249cbe437b8d6595ab1b
tree28bb5abdaa86d8eed783595ef8cd84e3274d0400
parent7c9abfb884b8737f0afdc8a88bcea77526f0da87
serial: sh-sci: disable callback typo fix

Avoid invoking the disable callback in case of NULL.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/serial/sh-sci.c