]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
i2c: busses: convert to devm_platform_ioremap_resource
authorDejin Zheng <zhengdejin5@gmail.com>
Thu, 9 Apr 2020 13:52:24 +0000 (21:52 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 15 Apr 2020 10:09:09 +0000 (12:09 +0200)
commite0442d76213981ab48e8ea0874bb6c47e3af5a36
treec383ba9e2e92ed9b5d5713f6aecf41ab518d82d7
parent8f3d9f354286745c751374f5f1fcafee6b3f3136
i2c: busses: convert to devm_platform_ioremap_resource

use devm_platform_ioremap_resource() to simplify code, it
contains platform_get_resource and devm_ioremap_resource.

Reviewed-by: Barry Song <baohua@kernel.org>
Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Robert Richter <rrichter@marvell.com>
Acked-by: Thor Thayer <thor.thayer@linux.intel.com>
Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
24 files changed:
drivers/i2c/busses/i2c-altera.c
drivers/i2c/busses/i2c-axxia.c
drivers/i2c/busses/i2c-bcm-kona.c
drivers/i2c/busses/i2c-davinci.c
drivers/i2c/busses/i2c-digicolor.c
drivers/i2c/busses/i2c-emev2.c
drivers/i2c/busses/i2c-exynos5.c
drivers/i2c/busses/i2c-hix5hd2.c
drivers/i2c/busses/i2c-img-scb.c
drivers/i2c/busses/i2c-jz4780.c
drivers/i2c/busses/i2c-lpc2k.c
drivers/i2c/busses/i2c-meson.c
drivers/i2c/busses/i2c-mv64xxx.c
drivers/i2c/busses/i2c-octeon-platdrv.c
drivers/i2c/busses/i2c-owl.c
drivers/i2c/busses/i2c-qup.c
drivers/i2c/busses/i2c-rk3x.c
drivers/i2c/busses/i2c-sirf.c
drivers/i2c/busses/i2c-stu300.c
drivers/i2c/busses/i2c-sun6i-p2wi.c
drivers/i2c/busses/i2c-synquacer.c
drivers/i2c/busses/i2c-xlp9xx.c
drivers/i2c/busses/i2c-xlr.c
drivers/i2c/busses/i2c-zx2967.c