mfd: Move from strlcpy with unused retval to strscpy
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 18 Aug 2022 21:00:29 +0000 (23:00 +0200)
committerLee Jones <lee@kernel.org>
Wed, 28 Sep 2022 15:17:39 +0000 (16:17 +0100)
commit6a32d3995f7bcf04598548778da54d2b6932b6a5
treebdf35f7612b615b9555e6fbe670c0805cdc1b46b
parent75db7907355ca5e2ff606e9dd3e86b6c3a455fe2
mfd: Move from strlcpy with unused retval to strscpy

Follow the advice of the below link and prefer 'strscpy' in this
subsystem. Conversion is 1:1 because the return value is not used.
Generated by a coccinelle script.

Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=V6A6G1oUZcprmknw@mail.gmail.com/
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20220818210030.7012-1-wsa+renesas@sang-engineering.com
drivers/mfd/htc-i2cpld.c
drivers/mfd/lpc_ich.c
drivers/mfd/mfd-core.c