clk: move from strlcpy with unused retval to strscpy
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 18 Aug 2022 21:00:00 +0000 (23:00 +0200)
committerStephen Boyd <sboyd@kernel.org>
Mon, 22 Aug 2022 23:22:53 +0000 (16:22 -0700)
commitc19edff61210eb846bf8ec44c9f87d1ca9efdfd2
tree7b4b4499fadffe512f48601c6822eb6a563fea9d
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868
clk: 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>
Link: https://lore.kernel.org/r/20220818210000.6600-1-wsa+renesas@sang-engineering.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clkdev.c
drivers/clk/mvebu/dove-divider.c
drivers/clk/tegra/clk-bpmp.c