From: vladimir_zapolskiy@mentor.com (Vladimir Zapolskiy) Date: Thu, 3 May 2018 10:14:20 +0300 Subject: [PATCH v2 04/10] PCI: Add dev parameter to __of_pci_get_host_bridge_resources() In-Reply-To: References: Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 04/30/2018 08:48 AM, Jan Kiszka wrote: > From: Jan Kiszka > > 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 Reviewed-by: Vladimir Zapolskiy Tested-by: Vladimir Zapolskiy -- With best wishes, Vladimir