[PATCH v4 05/16] mfd: max14577: Add detection of device type

2014-02-24 Thread Krzysztof Kozlowski
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

[PATCH v4 05/16] mfd: max14577: Add detection of device type

2014-02-24 Thread Krzysztof Kozlowski
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