Skip to content
Snippets Groups Projects
Commit 16263ff6 authored by Dan Williams's avatar Dan Williams
Browse files

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: default avatarDan Williams <dan.j.williams@intel.com>
parent 20a308f0
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment