mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 11:40:19 -04:00
staging: comedi: comedy_fops.c: fix line over 80, characters warnings
Signed-off-by: Yves Deweerdt <yves.deweerdt.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
f619621f40
commit
b2f4874174
@@ -1435,13 +1435,15 @@ static int __comedi_get_user_cmd(struct comedi_device *dev,
|
||||
s = &dev->subdevices[cmd->subdev];
|
||||
|
||||
if (s->type == COMEDI_SUBD_UNUSED) {
|
||||
dev_dbg(dev->class_dev, "%d not valid subdevice\n", cmd->subdev);
|
||||
dev_dbg(dev->class_dev, "%d not valid subdevice\n",
|
||||
cmd->subdev);
|
||||
return -EIO;
|
||||
}
|
||||
|
||||
if (!s->do_cmd || !s->do_cmdtest || !s->async) {
|
||||
dev_dbg(dev->class_dev,
|
||||
"subdevice %d does not support commands\n", cmd->subdev);
|
||||
"subdevice %d does not support commands\n",
|
||||
cmd->subdev);
|
||||
return -EIO;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user