Re: [PATCH 03/16] libnvdimm: Move nd_device_attribute_group to device_type

2019-11-12 Thread Aneesh Kumar K.V
Dan Williams writes: > A 'struct device_type' instance can carry default attributes for the > device. Use this facility to remove the export of > nd_device_attribute_group and put the responsibility on the core rather > than leaf implementations to define this attribute. > > For regions this

[PATCH 03/16] libnvdimm: Move nd_device_attribute_group to device_type

2019-11-06 Thread Dan Williams
A 'struct device_type' instance can carry default attributes for the device. Use this facility to remove the export of nd_device_attribute_group and put the responsibility on the core rather than leaf implementations to define this attribute. For regions this creates a new