Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2cde476d authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

staging: comedi: range: remove use of DPRINTK



Use dev_dbg() instead of the DPRINTK macro to output the comedi
debugging information.

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d2601699
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -83,8 +83,10 @@ int do_rangeinfo_ioctl(struct comedi_device *dev,
	}

	if (RANGE_LENGTH(it.range_type) != lr->length) {
		DPRINTK("wrong length %d should be %d (0x%08x)\n",
			RANGE_LENGTH(it.range_type), lr->length, it.range_type);
		dev_dbg(dev->class_dev,
			"wrong length %d should be %d (0x%08x)\n",
			RANGE_LENGTH(it.range_type),
			lr->length, it.range_type);
		return -EINVAL;
	}

@@ -123,7 +125,8 @@ static int aref_invalid(struct comedi_subdevice *s, unsigned int chanspec)
	default:
		break;
	}
	DPRINTK("subdevice does not support aref %i", aref);
	dev_dbg(s->device->class_dev, "subdevice does not support aref %i",
		aref);
	return 1;
}