Dan Williams 243f29fe44 libnvdimm: add an api to cast a 'struct nd_region' to its 'struct device'
For debug, it is useful for bus providers to be able to retrieve the
'struct device' associated with an nd_region instance that it
registered. We already have to_nd_region() to perform the reverse cast
operation, in fact its duplicate declaration can be removed from the
private drivers/nvdimm/nd.h header.

Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2018-04-03 11:51:42 -07:00
..
2017-07-03 16:56:26 -06:00
2017-10-12 15:42:00 +02:00
2017-11-17 09:51:57 -08:00
2016-05-20 22:02:57 -07:00
2018-03-15 07:18:06 -07:00