diff options
author | Dan Williams <dan.j.williams@intel.com> | 2019-11-13 02:13:14 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2019-11-19 18:52:12 +0100 |
commit | bfd2e9140656a061138ecdc6a5485d5e2a7a3333 (patch) | |
tree | 30a8befd5e91306de97ece49ddce9be822ff933b /crypto/fips.c | |
parent | dax: Simplify root read-only definition for the 'resource' attribute (diff) | |
download | linux-bfd2e9140656a061138ecdc6a5485d5e2a7a3333.tar.xz linux-bfd2e9140656a061138ecdc6a5485d5e2a7a3333.zip |
libnvdimm: Simplify root read-only definition for the 'resource' attribute
Rather than update the permission in ->is_visible() set the permission
directly at declaration time.
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/157309905534.1582359.13927459228885931097.stgit@dwillia2-desk3.amr.corp.intel.com
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions