summaryrefslogtreecommitdiffstats
path: root/drivers/power/max8997_charger.c
Commit message (Collapse)AuthorAgeFilesLines
* max8997_charger: Remove duplicate module.hJonghwan Choi2012-01-061-1/+0
| | | | | | | | module.h was included twice. Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com> Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
* Merge branch 'power-supply-scope' of ↵Anton Vorontsov2012-01-041-0/+1
|\ | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen
| * drivers/power: Add module.h to the actual modules in drivers/powerPaul Gortmaker2011-10-311-0/+1
| | | | | | | | | | | | | | | | | | | | The module.h header is no longer going to be implicitly present everywhere. So real modular users need to call out its use explicitly in advance. [v2: add new users reported by Randy Dunlap <rdunlap@xenotime.net>] Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
* | max8997_charger: Fix unsigned value for less than zeroJonghwan Choi2011-11-251-1/+1
| | | | | | | | | | | | | | | | The 'val' is a 'unsigned char', so it is never less than zero. Signed-off-by: Jonghwan Choi <jhbird.choi@gmail.com> Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
* | max8997_charger&max8998_charger: Fix unterminated platform_device_id tablesAxel Lin2011-08-191-0/+1
|/ | | | | | | | The platform_device_id table is supposed to be zero-terminated. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
* max8997_charger: Needs module.hAxel Lin2011-08-191-0/+1
| | | | | | | | | power/max8997_charger.c uses interfaces from linux/module.h, so it should include that file. This fixes build errors. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
* power_supply: Add charger driver for MAX8997/8966Donggeun Kim2011-07-081-0/+206
MAX8997/8966 chip is a multi-function device which includes PMIC, RTC, Fuel Gauge, MUIC, Haptic, Flash control, and Battery charging control. The driver for it is located at drivers/mfd. This patch supports battery charging control of MAX8997/8966 chip and provides power supply class information to userspace. Signed-off-by: Donggeun Kim <dg77.kim@samsung.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: KyungMin Park <kyungmin.park@samsung.com> Acked-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
OpenPOWER on IntegriCloud