[PATCH v2 2/4] input: keyboard: tegra: use devm_* for resource allocation

Arnd Bergmann arnd at arndb.de
Tue Jan 15 09:24:11 EST 2013


On Monday 14 January 2013, Thierry Reding wrote:
> It certainly sounds like a less complicated way to do it. But it also
> involves adding a function with a made up name and drop a function with
> a perfectly good name instead. I wouldn't even know what name to choose
> for the new API.
> 

How about devm_ioremap_resource()? Sounds equally fitting, and is shorter.

	Arnd


More information about the devicetree-discuss mailing list