parisc: led: Move from strlcpy with unused retval to strscpy
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 18 Aug 2022 21:00:55 +0000 (23:00 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 22 Aug 2022 09:09:17 +0000 (11:09 +0200)
commit4cb2643667c26fc976a4941b92f3770da9ec06a0
tree7338a452e100f7c4be63e4edac424756b2eefce4
parentdb4538ad4db280a2114e9d507d47c9f1a9f2cfd8
parisc: led: 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: Helge Deller <deller@gmx.de>
drivers/parisc/led.c