[PATCH 11/16] libnvdimm: Simplify root read-only definition for the 'resource' attribute