lp8788-charger: Fix a parent device in kernel messages
authorKim, Milo <Milo.Kim@ti.com>
Thu, 3 Jan 2013 06:30:18 +0000 (06:30 +0000)
committerAnton Vorontsov <anton@enomsg.org>
Sun, 6 Jan 2013 22:18:43 +0000 (14:18 -0800)
commitd5c2b14cb2b9b6a099e22f39ae2196a8403994e9
tree1c78820fee1ed9e146c7dbe6a2690fdc2c131b38
parent05ac539b4fb4f7d7d0f3123c5bb81a4b34aa5327
lp8788-charger: Fix a parent device in kernel messages

Use 'platform_device' in kernel messages rather than i2c client device
node. lp8788_update_charger_params() needs additional argument, 'pdev'.
Then, remove unnecessary lp8788 private data in lp8788_irq_register().

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/lp8788-charger.c