History

libnvdimm: Move nvdimm_attribute_group to device_type

A 'struct device_type' instance can carry default attributes for the device. Use this facility to remove the export of nvdimm_attribute_group and put the responsibility on the core rather than leaf implementations to define this attribute.

Dan Williams committed 7 years ago

Commit 360eba71 parent 4ce79fa4 files · +20 −27Browse files

Showing the changes to include/linux (1 of 4 files). Show all

Unified · Split

include/linux/libnvdimm.h+0−1
@@ -66,7 +66,6 @@ enum { · 65 unmodified lines
66};66};
67 67
68extern struct attribute_group nvdimm_bus_attribute_group;68extern struct attribute_group nvdimm_bus_attribute_group;
69extern struct attribute_group nvdimm_attribute_group;
70 69
71struct nvdimm;70struct nvdimm;
72struct nvdimm_bus_descriptor;71struct nvdimm_bus_descriptor;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t