Skip to content
Commit 4d24473c authored by Akinobu Mita's avatar Akinobu Mita Committed by Anton Vorontsov
Browse files

[BATTERY] power_supply_leds: use kasprintf



Use kasprintf instead of kmalloc()-strcpy()-strcat().

Cc: Anton Vorontsov <cbou@mail.ru>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: default avatarAkinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: default avatarAnton Vorontsov <cbou@mail.ru>
parent 25f12141
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment