iio: fix some warning messages
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 21 Nov 2015 10:33:00 +0000 (13:33 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sat, 21 Nov 2015 16:00:05 +0000 (16:00 +0000)
commit231bfe53c57e89857753c940192acba933cba56c
treed60e063009d85de309bbe4956225fb53bc8cddd2
parent8386c27587594899e4b638010fa0187fe068b295
iio: fix some warning messages

WARN_ON() only takes a condition argument.  I have changed these to
WARN() instead.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/industrialio-buffer.c
drivers/iio/industrialio-core.c