lkml.org 
[lkml]   [2015]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 05/10] max77693: Move state container to common header
Hi,

On Wed, Apr 29, 2015 at 07:58:30PM +0900, Krzysztof Kozlowski wrote:
> 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 <k.kozlowski.k@gmail.com>
> ---
> drivers/extcon/extcon-max77693.c | 3 ++-
> drivers/input/misc/max77693-haptic.c | 1 +
> drivers/mfd/max77693.c | 31 +++++++++++++------------
> drivers/power/max77693_charger.c | 1 +
> drivers/regulator/max77693.c | 1 +
> include/linux/mfd/max77693-common.h | 44 ++++++++++++++++++++++++++++++++++++
> include/linux/mfd/max77693-private.h | 25 --------------------
> 7 files changed, 65 insertions(+), 41 deletions(-)
> create mode 100644 include/linux/mfd/max77693-common.h
>
> [...]
>
> diff --git a/drivers/power/max77693_charger.c b/drivers/power/max77693_charger.c
> index 754879eb59f6..eb68d0572799 100644
> --- a/drivers/power/max77693_charger.c
> +++ b/drivers/power/max77693_charger.c
> @@ -21,6 +21,7 @@
> #include <linux/regmap.h>
> #include <linux/mfd/max77693.h>
> #include <linux/mfd/max77693-private.h>
> +#include <linux/mfd/max77693-common.h>
>
> #define MAX77693_CHARGER_NAME "max77693-charger"
> static const char *max77693_charger_model = "MAX77693";
> [...]

Acked-By: Sebastian Reichel <sre@kernel.org>

-- Sebastian
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-05-23 17:41    [W:0.145 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site