|
@@ -599,8 +599,7 @@ void gigaset_if_init(struct cardstate *cs)
|
|
if (!IS_ERR(cs->tty_dev))
|
|
if (!IS_ERR(cs->tty_dev))
|
|
dev_set_drvdata(cs->tty_dev, cs);
|
|
dev_set_drvdata(cs->tty_dev, cs);
|
|
else {
|
|
else {
|
|
- dev_warn(cs->dev,
|
|
|
|
- "could not register device to the tty subsystem\n");
|
|
|
|
|
|
+ pr_warning("could not register device to the tty subsystem\n");
|
|
cs->tty_dev = NULL;
|
|
cs->tty_dev = NULL;
|
|
}
|
|
}
|
|
mutex_unlock(&cs->mutex);
|
|
mutex_unlock(&cs->mutex);
|