ser_gigaset: fix up NULL checks
authorTilman Schmidt <tilman@imap.cc>
Tue, 15 Dec 2015 17:11:28 +0000 (18:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Dec 2015 18:24:20 +0000 (13:24 -0500)
commit74375c0528f724a4afa561d7bca0e2214ce5e3cf
tree11fcea616226460c5edf49ef9629909dd12f0ed1
parent389e4e04ad2d4887c7bdd7c01a93d3dfa5c14a06
ser_gigaset: fix up NULL checks

Commit f34d7a5b7010 ("tty: The big operations rework") changed
tty->driver to tty->ops but left NULL checks for tty->driver untouched.
Fix.

Signed-off-by: Tilman Schmidt <tilman@imap.cc>
[pebolle: removed Fixes tag]
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/gigaset/ser-gigaset.c