commit | c41d79b74b3b106310b43d68fd5a304735c3369f | [log] [tgz] |
---|---|---|
author | Chuhong Yuan <hslester96@gmail.com> | Mon Nov 18 19:40:18 2019 +0800 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Dec 08 18:10:29 2019 +0000 |
tree | 48497a9a1f0d7f2429a8671e775f4ede401b0a1d | |
parent | 1f310f77efa25660fcbf58629a96f8ee6aac85ba [diff] |
iio: adc: max1027: fix not unregistered iio trigger The driver forgets to unregister the iio trigger in probe failure and remove. Use devm API to fix it. Signed-off-by: Chuhong Yuan <hslester96@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>