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 Cc: Bjorn Helgaas , linux-pci@vger.kernel.org, Mika Westerberg References: <2d4b1ed51a1c90fb6e1ef6282ab0c28f6c62cab1.1534686485.git.lukas@wunner.de> <20180820090953.sbvgxc2ednxaq73s@wunner.de> From: Sinan Kaya Message-ID: <05c7fadf-82ef-5ee0-601d-850583eefb0f@kernel.org> Date: Mon, 20 Aug 2018 13:34:48 -0400 MIME-Version: 1.0 In-Reply-To: <20180820090953.sbvgxc2ednxaq73s@wunner.de> Content-Type: text/plain; charset=utf-8; format=flowed List-ID: On 8/20/2018 5:09 AM, Lukas Wunner wrote: > 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. > I was thinking of the rename. > Thanks, > > Lukas >