ndctl: add some function documentation

For the most part the apis are self-explanatory get/set attributes on
the various objects (bus, dimm, region, namespace, and btt).  However,
it's important to document the approach to multithreading inherited from
libabc, and while we're at it add a bit more per function annotation.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Ross Zwisler <ross.zwisler@linux.intel.com>
1 file changed