diff options
author | Dan Williams <dan.j.williams@intel.com> | 2019-03-04 12:14:04 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2019-03-04 12:26:41 -0800 |
commit | 075c3fdd56ac2e077f928353daf786341bbb6a52 (patch) | |
tree | 5821bf4dfc0a5457425db3b574dc2478cd7e31ad /kernel/nsproxy.c | |
parent | 316720b9c2341307b9a17103cdafa1ca9b2fb872 (diff) | |
download | blackbird-op-linux-075c3fdd56ac2e077f928353daf786341bbb6a52.tar.gz blackbird-op-linux-075c3fdd56ac2e077f928353daf786341bbb6a52.zip |
libnvdimm/namespace: Clean up holder_class_store()
Use sysfs_streq() in place of open-coded strcmp()'s that check for an
optional "\n" at the end of the input.
Reviewed-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'kernel/nsproxy.c')
0 files changed, 0 insertions, 0 deletions