[PATCH v2 05/15] mfd: max14577: Add detection of device type

Lee Jones lee.jones at linaro.org
Fri Feb 7 05:53:27 EST 2014


> This patch continues the preparation for adding support for max77836
> device to existing max14577 driver.
> 
> Add enum for types of devices supported by this driver. The device type
> will be detected by matching of_device_id, or i2c_device_id as a
> fallback.
> 
> The patch also moves to separate function the code related to displaying
> DeviceID register values.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski at samsung.com>
> Cc: Kyungmin Park <kyungmin.park at samsung.com>
> Cc: Marek Szyprowski <m.szyprowski at samsung.com>
> ---
>  drivers/mfd/max14577.c               |   64 ++++++++++++++++++++++++----------
>  include/linux/mfd/max14577-private.h |   12 ++++---
>  2 files changed, 53 insertions(+), 23 deletions(-)

Acked-by: Lee Jones <lee.jones at linaro.org>

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog



More information about the linux-arm-kernel mailing list