OpenCloudOS-Kernel/drivers/iio/common/st_sensors
Wolfram Sang ae2c9cf14c iio: st_sensors: 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/20220818210017.6817-1-wsa+renesas@sang-engineering.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2022-08-19 18:23:14 +01:00
..
Kconfig iio: st_sensors: don't always auto-enable I2C and SPI interface drivers 2022-01-23 18:03:35 +00:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
st_sensors_buffer.c iio:st-sensors: Move exports into IIO_ST_SENSORS namespace 2022-02-18 11:36:54 +00:00
st_sensors_core.c iio: st_sensors: move from strlcpy with unused retval to strscpy 2022-08-19 18:23:14 +01:00
st_sensors_core.h iio: st-sensors: Remove some unused includes and add some that should be there 2021-07-24 15:59:00 +01:00
st_sensors_i2c.c iio:st-sensors: Move exports into IIO_ST_SENSORS namespace 2022-02-18 11:36:54 +00:00
st_sensors_spi.c iio:st-sensors: Move exports into IIO_ST_SENSORS namespace 2022-02-18 11:36:54 +00:00
st_sensors_trigger.c iio:st-sensors: Move exports into IIO_ST_SENSORS namespace 2022-02-18 11:36:54 +00:00