i2c: nomadik: Remove a useless call in the remove function
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 4 Jul 2023 19:50:28 +0000 (21:50 +0200)
committerWolfram Sang <wsa@kernel.org>
Thu, 6 Jul 2023 19:39:14 +0000 (21:39 +0200)
commit05f933d5f7318b03ff2028c1704dc867ac16f2c7
tree284e5972536856e020030d723d07466e8c0fbecf
parentcb6e45c9a0ad9e0f8664fd06db0227d185dc76ab
i2c: nomadik: Remove a useless call in the remove function

Since commit 235602146ec9 ("i2c-nomadik: turn the platform driver to an amba
driver"), there is no more request_mem_region() call in this driver.

So remove the release_mem_region() call from the remove function which is
likely a left over.

Fixes: 235602146ec9 ("i2c-nomadik: turn the platform driver to an amba driver")
Cc: <stable@vger.kernel.org> # v3.6+
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-nomadik.c