mfd: max77693: Store I2C device type as enum and add default unknown
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Wed, 15 Jul 2015 12:59:48 +0000 (21:59 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 16 Jul 2015 20:39:29 +0000 (21:39 +0100)
commitb3b58cee8aced52e3d7fdb387f40c782a4511198
tree6672ba57fb852cf9ede96130f3f0ff205894933f
parent0afab670bda6f3c9980be9e6de0effcc2c6d456c
mfd: max77693: Store I2C device type as enum and add default unknown

Store the device type (obtained from i2c_device_id) as an enum and add a
default type of unknown to distinguish from case when this is not set
at all.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/mfd/max77693-private.h