diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2007-11-17 11:55:58 +0100 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2008-02-02 00:42:59 +0100 |
commit | 4d24473c435c7c3ad7b43e43b70cdb16aba25443 (patch) | |
tree | 576d2cd5a41471eae0e57fa3c5a66e44cdec39a4 /drivers/power/olpc_battery.c | |
parent | [BATTERY] Every file should include the headers containing the prototypes for... (diff) | |
download | linux-4d24473c435c7c3ad7b43e43b70cdb16aba25443.tar.xz 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