mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
drivers: max77693: Move state container to common header
This prepares for merging some of the drivers between max77693 and max77843 so the child MFD driver can be attached to any parent MFD main driver. Move the state container to common header file. Additionally add consistent 'i2c' prefixes to its members (of 'struct i2c_client' type). Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Sebastian Reichel <[email protected]> Acked-by: Dmitry Torokhov <[email protected]> Acked-by: Lee Jones <[email protected]> Acked-by: Chanwoo Choi <[email protected]> Acked-by: Jacek Anaszewski <[email protected]> Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
parent
5b5e771fb7
commit
61b305cd2a
8 changed files with 66 additions and 41 deletions
|
|
@ -20,6 +20,7 @@
|
|||
#include <linux/power_supply.h>
|
||||
#include <linux/regmap.h>
|
||||
#include <linux/mfd/max77693.h>
|
||||
#include <linux/mfd/max77693-common.h>
|
||||
#include <linux/mfd/max77693-private.h>
|
||||
|
||||
#define MAX77693_CHARGER_NAME "max77693-charger"
|
||||
|
|
|
|||
Loading…
Reference in a new issue