> 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 <[email protected]> > Cc: Kyungmin Park <[email protected]> > Cc: Marek Szyprowski <[email protected]> > --- > drivers/mfd/max14577.c | 64 > ++++++++++++++++++++++++---------- > include/linux/mfd/max14577-private.h | 12 ++++--- > 2 files changed, 53 insertions(+), 23 deletions(-)
Acked-by: Lee Jones <[email protected]> -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

