i2c: designware: Use devm_platform_ioremap_resource() to simplify code
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 25 Apr 2020 13:44:44 +0000 (16:44 +0300)
committerWolfram Sang <wsa@kernel.org>
Wed, 13 May 2020 10:36:22 +0000 (12:36 +0200)
commit188fe480cd65c53dca02a464d62be02ca3158290
treea11fc2b6dc17ab64e1febf49c8f241ee668583f4
parent2fd6cbf41aa9c76c8ce6e63bbbdebc0ce0c5d49f
i2c: designware: Use devm_platform_ioremap_resource() to simplify code

Use devm_platform_ioremap_resource() instead of
platform_get_resource() + devm_ioremap_resource().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-designware-platdrv.c