diff options
author | Dan Williams <dan.j.williams@intel.com> | 2019-11-07 06:56:41 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2019-11-17 20:17:38 +0300 |
commit | 78c81cc89a40114d09a5ec0693cfd97831ffbe79 (patch) | |
tree | e4eda33f55368eef544375b5c487c1981924383e /drivers/base/init.c | |
parent | cda93d6965a162be87f9d6dc5fb28b99335860fe (diff) | |
download | linux-78c81cc89a40114d09a5ec0693cfd97831ffbe79.tar.xz |
libnvdimm: Move attribute groups to device type
Statically initialize the attribute groups for each libnvdimm
device_type. This is a preparation step for removing unnecessary exports
of attributes that can be included in the device_type by default.
Also take the opportunity to mark 'struct device_type' instances const.
Cc: Ira Weiny <ira.weiny@intel.com>
Cc: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Link: https://lore.kernel.org/r/157309900111.1582359.2445687530383470348.stgit@dwillia2-desk3.amr.corp.intel.com
Diffstat (limited to 'drivers/base/init.c')
0 files changed, 0 insertions, 0 deletions