diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2019-06-13 22:54:12 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-15 23:38:24 +0300 |
commit | 930cfe0f129d2e9fee8ed3e8488daee881aa31c5 (patch) | |
tree | 3f92fcb4644834f1915de9f617fff21f25d56fdb /drivers/ptp/Kconfig | |
parent | 407308f60d46e50d258143f0bd38adc3f780908e (diff) | |
download | linux-930cfe0f129d2e9fee8ed3e8488daee881aa31c5.tar.xz |
hinic: Use devm_kasprintf instead of hard coding it
'devm_kasprintf' is less verbose than:
snprintf(NULL, 0, ...);
devm_kzalloc(...);
sprintf
so use it instead.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Zhao Chen <zhaochen6@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ptp/Kconfig')
0 files changed, 0 insertions, 0 deletions