Dan Williams writes:
> Rather than update the permission in ->is_visible() set the permission
> directly at declaration time.
>
Reviewed-by: Aneesh Kumar K.V
> Cc: Ira Weiny
> Cc: Vishal Verma
> Signed-off-by: Dan Williams
> ---
> drivers/nvdimm/namespace_devs.c |9 +++--
>
Rather than update the permission in ->is_visible() set the permission
directly at declaration time.
Cc: Ira Weiny
Cc: Vishal Verma
Signed-off-by: Dan Williams
---
drivers/nvdimm/namespace_devs.c |9 +++--
drivers/nvdimm/pfn_devs.c | 10 +-
drivers/nvdimm/region_devs.c