[PATCH] OMAP: serial: Release the claimed memory region in remove

Mark Brown broonie at opensource.wolfsonmicro.com
Sat Feb 11 06:27:22 EST 2012


On Sat, Feb 11, 2012 at 01:03:27PM +0530, Shubhrajyoti D wrote:
> Currently the memory region is not released the folowing error is
> observed.

> /testsuites # insmod omap-serial.ko
> [  130.746917] omap_uart omap_uart.0: memory region already claimed
> [  130.753143] omap_uart: probe of omap_uart.0 failed with error -16

It'd be better yet to use the devm_ functions to prevent such issues
recurring in future.



More information about the linux-arm-kernel mailing list