i2c: simtec: use release_mem_region instead of release_resource
authorAnton Vasilyev <vasilyev@ispras.ru>
Thu, 10 Aug 2017 15:15:45 +0000 (18:15 +0300)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 14 Aug 2017 19:39:21 +0000 (21:39 +0200)
commit42543aeb48e3701b49e0a83654248afc38feb88f
treee7539743b4468838f51dd70ab3366f4b5d7dd080
parentf4b17a14faeec4160f97ad75ea7534f571f12404
i2c: simtec: use release_mem_region instead of release_resource

Use api pair of request_mem_region and release_mem_region
instead of release_resource.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Anton Vasilyev <vasilyev@ispras.ru>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-simtec.c