From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Subject: Re: [PATCH 4/9] PCI: pciehp: Unify controller and slot structs To: Lukas Wunner , Bjorn Helgaas , linux-pci@vger.kernel.org, Mika Westerberg References: <2d4b1ed51a1c90fb6e1ef6282ab0c28f6c62cab1.1534686485.git.lukas@wunner.de> From: Sinan Kaya Message-ID: Date: Sun, 19 Aug 2018 17:59:33 -0400 MIME-Version: 1.0 In-Reply-To: <2d4b1ed51a1c90fb6e1ef6282ab0c28f6c62cab1.1534686485.git.lukas@wunner.de> Content-Type: text/plain; charset=utf-8; format=flowed List-ID: On 8/19/2018 10:29 AM, Lukas Wunner wrote: > Simplify the driver by merging struct slot into struct controller. > Merge the slot constructor pcie_init_slot() and the destructor > pcie_cleanup_slot() into the controller counterparts. Rename the slot > struct's "lock" member to "state_lock" and rename "work" to "button_work" > for clarity. please split this into multiple pieces.