Re: [PATCH 3/5] mm, hmm: use devm semantics for hmm_devmem_{add, remove}
Looks good, Reviewed-by: Christoph Hellwig
[PATCH 3/5] mm, hmm: use devm semantics for hmm_devmem_{add, remove}
devm semantics arrange for resources to be torn down when device-driver-probe fails or when device-driver-release completes. Similar to devm_memremap_pages() there is no need to support an explicit remove operation when the users properly adhere to devm semantics. Cc: Christoph Hellwig Cc: "Jérôm