twl4030_charger: Fix warnings
authorGrazvydas Ignotas <notasas@gmail.com>
Fri, 3 Jun 2011 11:43:11 +0000 (14:43 +0300)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 8 Jul 2011 12:57:59 +0000 (16:57 +0400)
commit28d48f04ead41438f14d167fe61fd179de7029f3
tree04b82212bc3b185e6cc8407ab5b147712e718527
parentccf8fa2d1b4dd8660aadc830f22645781628b894
twl4030_charger: Fix warnings

Fix warnings emitted by some versions of gcc:
drivers/power/twl4030_charger.c:490: warning: overflow in implicit constant conversion
drivers/power/twl4030_charger.c:498: warning: overflow in implicit constant conversion

While at it, also fix module_param permissions and a typo in my name.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/twl4030_charger.c