diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2007-11-17 19:55:58 +0900 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2008-02-02 02:42:59 +0300 |
commit | 4d24473c435c7c3ad7b43e43b70cdb16aba25443 (patch) | |
tree | 576d2cd5a41471eae0e57fa3c5a66e44cdec39a4 /drivers/power/olpc_battery.c | |
parent | 25f12141e2be96e904239d963e25818b8854e72f (diff) | |
download | blackbird-obmc-linux-4d24473c435c7c3ad7b43e43b70cdb16aba25443.tar.gz blackbird-obmc-linux-4d24473c435c7c3ad7b43e43b70cdb16aba25443.zip |
[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: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Anton Vorontsov <cbou@mail.ru>
Diffstat (limited to 'drivers/power/olpc_battery.c')
0 files changed, 0 insertions, 0 deletions