diff options
author | Dan Williams <dan.j.williams@intel.com> | 2019-03-04 21:14:04 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2019-03-04 21:26:41 +0100 |
commit | 075c3fdd56ac2e077f928353daf786341bbb6a52 (patch) | |
tree | 5821bf4dfc0a5457425db3b574dc2478cd7e31ad /drivers/acpi/wakeup.c | |
parent | libnvdimm/of_pmem: Fix platform_no_drv_owner.cocci warnings (diff) | |
download | linux-075c3fdd56ac2e077f928353daf786341bbb6a52.tar.xz 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 '')
0 files changed, 0 insertions, 0 deletions