iio: Fix multi-link device removal
authorErik Lilliebjerg <elilliebjerg@nvidia.com>
Fri, 14 Oct 2016 22:12:10 +0000 (15:12 -0700)
committermobile promotions <svcmobile_promotions@nvidia.com>
Mon, 17 Oct 2016 10:06:27 +0000 (03:06 -0700)
commitb4b6e23bc2a8fa1ed2241d2acafdc953256250ae
tree2ce1761b0ab155ca910523da0f722f007b9a92bc
parent40e314586fb894b4752272d60f46067b35d5173a
iio: Fix multi-link device removal

- Create a dynamic device_type structure for drivers that use multiple links
  per device.

Bug 1824808

Change-Id: I7f803b326368f7e212c2b61cd2f76d8f2dea274a
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/1237017
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
drivers/iio/common/nvs/Kconfig
drivers/iio/common/nvs/Makefile
drivers/iio/common/nvs/nvs_auto.c [new file with mode: 0644]
drivers/iio/common/nvs/nvs_dsm.c
drivers/iio/common/nvs/nvs_iio.c
drivers/iio/industrialio-core.c
include/linux/iio/iio.h
include/linux/nvs.h