summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mfd
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-02-12 12:15:29 +0100
committerLee Jones <lee.jones@linaro.org>2016-03-09 12:50:51 +0700
commit0708677558dd7d03e70292549433f0f6b04a5e00 (patch)
tree8fd8d1260b620d6d939de728833d5beeb0f9acc5 /Documentation/devicetree/bindings/mfd
parent4f7ed234f2a5dcc26fc56a6e8324d34bbc9afe23 (diff)
iio: adc/imx25-gcq: Move incorrect do_div
The newly added driver uses do_div() to device a 32-bit number, which now provokes a warning: drivers/iio/adc/fsl-imx25-gcq.c: In function 'mx25_gcq_setup_cfgs': include/asm-generic/div64.h:207:28: warning: comparison of distinct pointer types lacks a cast (void)(((typeof((n)) *)0) == ((uint64_t *)0)); \ This replaces the do_div() call with a straight division operator. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Fixes: 6df2e98c3ea5 ("iio: adc: Add imx25-gcq ADC driver") Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mfd')
0 files changed, 0 insertions, 0 deletions