Re: [PATCH 2/2] chipidea: Use devm_request_irq()

From: Tejun Heo
Date: Wed Jul 31 2013 - 10:08:11 EST


On Wed, Jul 31, 2013 at 02:57:51PM +0100, Mark Brown wrote:
> That's the only API I've ever heard of doing that. Everything else is
> just using it to do deallocation.

I'm not sure why or what you're trying to argue here but take a look
at devm_pwm_release() for example. It calls back into low level
driver free routine. Are you arguing that it'd be a good idea to
release pci regions before this is complete? It's just stupid to do
any differently. There's nothing to argue about.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/