lib/string_helpers: Add str_read_write() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 22 Aug 2022 17:49:23 +0000 (17:49 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 28 Aug 2022 16:00:30 +0000 (17:00 +0100)
commit1f5d7ea73c4b630dbb2c90818cb9fc0be54d2fe3
tree362fc552ee7c3762f13ae23f1b2313074fe3bb35
parentc05c3e5d4e563ac84624c093addee644194984eb
lib/string_helpers: Add str_read_write() helper

Add str_read_write() helper to return 'read' or 'write' string literal.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Dmitry Rokosov <ddrokosov@sberdevices.ru>
Link: https://lore.kernel.org/r/20220822175011.2886-2-ddrokosov@sberdevices.ru
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
include/linux/string_helpers.h