]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
nvdimm: Use str_plural() to simplify the code
authorXichao Zhao <zhao.xichao@vivo.com>
Wed, 27 Aug 2025 02:13:25 +0000 (10:13 +0800)
committerIra Weiny <ira.weiny@intel.com>
Tue, 16 Sep 2025 15:57:33 +0000 (10:57 -0500)
commit11bdf36be82721b8c4eda95a21c78ad856e047f9
treef2a31beb3b9a4acd89a01dcb94a24fb5840d0696
parentf83ec76bf285bea5727f478a68b894f5543ca76e
nvdimm: Use str_plural() to simplify the code

Use the string choice helper function str_plural() to simplify the code.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
drivers/nvdimm/namespace_devs.c
drivers/nvdimm/region.c