diff options
| author | Dan Williams <[email protected]> | 2016-01-05 07:50:23 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2016-01-09 16:39:04 +0000 |
| commit | 16263ff6c72eb4cc00aa287230144dda12ccad12 (patch) | |
| tree | b92a29f5508d3dd5f494e4399bf0be799b93e319 /lib/dma-debug.c | |
| parent | block: clarify badblocks lifetime (diff) | |
| download | kernel-16263ff6c72eb4cc00aa287230144dda12ccad12.tar.gz kernel-16263ff6c72eb4cc00aa287230144dda12ccad12.zip | |
block, badblocks: introduce devm_init_badblocks
Provide a devres interface for initializing a badblocks instance. The
pmem driver has several scenarios where it will be beneficial to have
this structure automatically freed when the device is disabled / fails
probe.
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions
