]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit931248f3d207f6c64f51e941ad46e71052a346f9
tree6e82e7b85fb1efa27151ca97f5f0f2c6361696ba
parent3fd3b5b1e244d776c30349b331fae26dddbbca52
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