The 'val' is a 'unsigned char', so it is never less than zero.
Signed-off-by: Jonghwan Choi <[email protected]>
Acked-by: MyungJoo Ham <[email protected]>
Signed-off-by: Anton Vorontsov <[email protected]>
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 <[email protected]>]
Signed-off-by: Paul Gortmaker <[email protected]>
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 <[email protected]>
Acked-by: MyungJoo Ham <[email protected]>
Signed-off-by: Anton Vorontsov <[email protected]>
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 <[email protected]>
Signed-off-by: MyungJoo Ham <[email protected]>
Signed-off-by: KyungMin Park <[email protected]>
Acked-by: Samuel Ortiz <[email protected]>
Signed-off-by: Anton Vorontsov <[email protected]>