i2c: stu300: Use proper printk format for iomem pointer
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 14 Jan 2020 09:06:05 +0000 (10:06 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 15 Jan 2020 17:39:59 +0000 (18:39 +0100)
commit49945ef0f90b5becef67db68338e8ce34ef70975
treebce390387baaae97b0ae94c65ec71f4ea794054d
parentb3ec946975737b949137fbb1a2db9e7cc5b9ae82
i2c: stu300: Use proper printk format for iomem pointer

iomem pointers should be printed with pointer format to hide the
actual value and fix warnings when compiling on 64-bit platform (e.g. with
COMPILE_TEST):

    drivers/i2c/busses/i2c-stu300.c: In function ‘stu300_wait_while_busy’:
    drivers/i2c/busses/i2c-stu300.c:446:76: warning:
        cast from pointer to integer of different size [-Wpointer-to-int-cast]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-stu300.c