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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Aug 2023 08:23:50 +0000 (10:23 +0200)
commit70957ae16093d0b3201bf863db19c2d5c2310315
treef3fb912026de85a9a48a672629fc5b7fe0e6af4f
parenta9be061237aa8f9f92d611685abf4f57f062bf36
i2c: nomadik: Remove a useless call in the remove function

[ Upstream commit 05f933d5f7318b03ff2028c1704dc867ac16f2c7 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/i2c/busses/i2c-nomadik.c