mfd: max8998: Naturalise cross-architecture discrepancies
authorLee Jones <lee.jones@linaro.org>
Mon, 3 Feb 2014 08:22:30 +0000 (08:22 +0000)
committerLee Jones <lee.jones@linaro.org>
Wed, 19 Feb 2014 13:30:25 +0000 (13:30 +0000)
commit8bace2d5b4baa0f60b6094b53aeb79515ec94e4a
tree653a53bff239a7225e50051c1fe167790d9463ae
parent05fb7a56ad65ceaa1907bb9c66bfa1108847667f
mfd: max8998: Naturalise cross-architecture discrepancies

If we compile the MAX8998 for a 64bit architecture we receive the following
warnings:

  drivers/mfd/max8998.c: In function ‘max8998_i2c_get_driver_data’:
  drivers/mfd/max8998.c:178:10:
    warning: cast from pointer to integer of different size
     return (int)match->data;
            ^

Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/max8998.c
include/linux/mfd/max8998-private.h