On 04/30/2018 08:48 AM, Jan Kiszka wrote:
> From: Jan Kiszka <[email protected]>
> 
> When non-NULL, use the new dev parameter of
> __of_pci_get_host_bridge_resources() to allocate the resource data
> structures via devm_kzalloc. That allows to release them automatically
> during device destruction.
> 
> Signed-off-by: Jan Kiszka <[email protected]>

Reviewed-by: Vladimir Zapolskiy <[email protected]>
Tested-by: Vladimir Zapolskiy <[email protected]>

--
With best wishes,
Vladimir

Reply via email to