summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2020-09-21 13:31:56 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-09-29 19:27:05 +0300
commita3598d14dc571b484529956b33f3fdd9d2b2b97e (patch)
tree5fb7650fa3c7b502ce27d715bac550df582cf0e1 /include/linux/platform_data
parentf2f45a53646fbe026f12f8b64be6a5def1591384 (diff)
downloadlinux-a3598d14dc571b484529956b33f3fdd9d2b2b97e.tar.xz
iio: event: NULL-ify IIO device's event_interface ref during unregister
Though we know that the iio_device_unregister_eventset() call is followed by the free-ing of the IIO device object, we should not make this assumption in the iio_device_unregister_eventset() function. It should allow for the clean unregistering of the event-set, allowing a re-register should we decide to implement this at some point later. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Link: https://lore.kernel.org/r/20200921103156.194748-2-alexandru.ardelean@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions