History

libnvdimm: Move nvdimm_bus_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_bus_attribute_group and put the responsibility on the core rather than leaf implementations to define this attribute.

Dan Williams committed 7 years ago

Commit e7557991 parent 360eba78 files · +14 −25Browse files

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

Unified · Split

include/linux/libnvdimm.h+0−2
@@ -65,8 +65,6 @@ enum { · 64 unmodified lines
65 DPA_RESOURCE_ADJUSTED = 1 << 0,65 DPA_RESOURCE_ADJUSTED = 1 << 0,
66};66};
67 67
68extern struct attribute_group nvdimm_bus_attribute_group;
69
70struct nvdimm;68struct nvdimm;
71struct nvdimm_bus_descriptor;69struct nvdimm_bus_descriptor;
72typedef int (*ndctl_fn)(struct nvdimm_bus_descriptor *nd_desc,70typedef int (*ndctl_fn)(struct nvdimm_bus_descriptor *nd_desc,

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