diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-06-21 15:56:31 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-29 10:24:27 +0100 |
commit | 5c374f7fe0be64902bafda44c1fd3143fd110a70 (patch) | |
tree | b26b833489797084e4234f637680649daa120911 /lib/devres.c | |
parent | d1b09d42cfd129c997d87db14467344f688d28a4 (diff) |
mfd: intel-lpss: Release IDA resources
[ Upstream commit 02f36911c1b41fcd8779fa0c135aab0554333fa5 ]
ida instances allocate some internal memory for ->free_bitmap
in addition to the base 'struct ida'. Use ida_destroy() to release
that memory at module_exit().
Fixes: 4b45efe85263 ("mfd: Add support for Intel Sunrisepoint LPSS devices")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions