isp1704_charger: Correct length for storing model
authorAmeya Palande <ameya.palande@nokia.com>
Thu, 4 Nov 2010 14:31:46 +0000 (16:31 +0200)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Thu, 18 Nov 2010 13:56:18 +0000 (16:56 +0300)
commit746d8fb8c6933337c927f40c9ef90dcbddcfd39e
tree2eb0ac8a4f923e792479e5ea32d1f59d6234abeb
parent5070437cd99511f69ae561f2ab417142a47a85ec
isp1704_charger: Correct length for storing model

Model should have room to accommodate the trailing null byte,
"isp170[4|7]\0".

Signed-off-by: Ameya Palande <ameya.palande@nokia.com>
Acked-by: Heikki Krogerus <heikki.krogerus@nokia.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/isp1704_charger.c