From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Date: Mon, 20 Aug 2018 11:09:53 +0200 From: Lukas Wunner To: Sinan Kaya Cc: Bjorn Helgaas , linux-pci@vger.kernel.org, Mika Westerberg Subject: Re: [PATCH 4/9] PCI: pciehp: Unify controller and slot structs Message-ID: <20180820090953.sbvgxc2ednxaq73s@wunner.de> References: <2d4b1ed51a1c90fb6e1ef6282ab0c28f6c62cab1.1534686485.git.lukas@wunner.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: List-ID: On Sun, Aug 19, 2018 at 05:59:33PM -0400, Sinan Kaya wrote: > 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. Hm, you mean split out the renaming of the "lock" and "work" members? The unification of the two structs needs to happen in a single commit to avoid breaking the build for people doing a git bisect. Thanks, Lukas