iio: core: drop devm_iio_device_free() API call
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Thu, 27 Feb 2020 13:52:22 +0000 (15:52 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Apr 2020 15:56:36 +0000 (16:56 +0100)
commit66be392a48f9d5256b4ba582ff06303fe97b5ca2
tree6e82e7b85fb1efa27151ca97f5f0f2c6361696ba
parent666e4de43d942fbe0d7f1d9dbc993f5b5c81760c
iio: core: drop devm_iio_device_free() API call

It's unused so far, so it can be removed. Also makes sense to remove it
to discourage weird uses of this call during review.

This is the last user of 'devm_iio_device_match()', so it can be removed as
well in this patch.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/driver-api/driver-model/devres.rst
drivers/iio/industrialio-core.c
include/linux/iio/iio.h