iio: core: drop devm_iio_device_unregister() API call
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Thu, 27 Feb 2020 13:52:20 +0000 (15:52 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Apr 2020 15:56:35 +0000 (16:56 +0100)
commit83af573e980aafa7edf56a449a6e70f6c8ac9792
tree81b6e8591061814639a521dc362a114ebcd2150c
parenta17cb784fcd7d54b8bca9792d83e5a7516d73d4e
iio: core: drop devm_iio_device_unregister() 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.

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