summaryrefslogtreecommitdiffstats
path: root/drivers/power/olpc_battery.c
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2007-11-17 19:55:58 +0900
committerAnton Vorontsov <cbouatmailru@gmail.com>2008-02-02 02:42:59 +0300
commit4d24473c435c7c3ad7b43e43b70cdb16aba25443 (patch)
tree576d2cd5a41471eae0e57fa3c5a66e44cdec39a4 /drivers/power/olpc_battery.c
parent25f12141e2be96e904239d963e25818b8854e72f (diff)
downloadblackbird-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
OpenPOWER on IntegriCloud