mfd: max8997: Cast void pointer to data of max8997_pmic_dt_match
authorJingoo Han <jg1.han@samsung.com>
Thu, 1 Aug 2013 02:01:27 +0000 (11:01 +0900)
committerLee Jones <lee.jones@linaro.org>
Thu, 1 Aug 2013 08:54:53 +0000 (09:54 +0100)
commited6ccdc67f0722dfe817ebb2e16ccc8d2c30187a
tree17ae16b0c644e7cbf4e0fc1efa6cbd7afd5d42d5
parenta9c4055da8ee86e96cb34ad754f4f49028c8de4f
mfd: max8997: Cast void pointer to data of max8997_pmic_dt_match

Casting (void *) data of max8997_pmic_dt_match is necessary,
because variable 'data' of struct 'of_device_id' is defined as
'const void *data'. Thus, pointer should be used instead of value.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/max8997.c