diff options
author | Guenter Roeck <linux@roeck-us.net> | 2018-08-28 20:41:41 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2018-10-11 05:37:13 +0200 |
commit | 86103cffe8834fef0a342fcac82585ff67cda569 (patch) | |
tree | 87c83be14d1c132fc94e17ee7a757736c20859cc /fs/exofs | |
parent | hwmon: Convert to using %pOFn instead of device_node.name (diff) | |
download | linux-86103cffe8834fef0a342fcac82585ff67cda569.tar.xz linux-86103cffe8834fef0a342fcac82585ff67cda569.zip |
hwmon: (iio_hwmon) Do not duplicate or sanitize fixed string
Calling devm_kstrdup() on a fixed string is unnecessary, as is validating
its contents. Rearrange the code to avoid both.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'fs/exofs')
0 files changed, 0 insertions, 0 deletions