]> 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)
commitd93ef22e8fb5f8405c54e6725e7171d92abbf7b9
tree6e82e7b85fb1efa27151ca97f5f0f2c6361696ba
parent54e03b41ae811c6843d10dc2760aa654394ee222
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