diff options
author | Simon Glass <sjg@chromium.org> | 2017-08-02 12:12:01 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-09-11 21:43:58 -0600 |
commit | a0f9acb08bd6f3b4a6f3adcb02c8170e522c074a (patch) | |
tree | 47a72daa778482d4fea2129c2cc99fd45249b874 /drivers/gpio/zynq_gpio.c | |
parent | 226b50bbd87b0c4ebf913066dfadbe04306ce402 (diff) |
dm: core: Drop use of strlcpy()
We can use printf() to limit the string width. Adjust the code to do this
instead of using strlcpy() which is a bit clumbsy.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/gpio/zynq_gpio.c')
0 files changed, 0 insertions, 0 deletions