Re: [PATCH v3 1/3] PCI: imx6: Use enum instead of bool for variant indicator

2016-05-02 Thread Bjorn Helgaas
On Wed, Apr 20, 2016 at 08:45:29AM -0700, Andrey Smirnov wrote: > Use enumerated type instead of a boolean flag to specify the variant of > the PCIe IP block (6Q, 6SX, etc). This patch has zero functional impact, > however it makes the code easier to extend for the case of more than 2 > possible va

Re: [PATCH v3 1/3] PCI: imx6: Use enum instead of bool for variant indicator

2016-04-28 Thread Fabio Estevam
On Wed, Apr 20, 2016 at 12:45 PM, Andrey Smirnov wrote: > Use enumerated type instead of a boolean flag to specify the variant of > the PCIe IP block (6Q, 6SX, etc). This patch has zero functional impact, > however it makes the code easier to extend for the case of more than 2 > possible variants

[PATCH v3 1/3] PCI: imx6: Use enum instead of bool for variant indicator

2016-04-20 Thread Andrey Smirnov
Use enumerated type instead of a boolean flag to specify the variant of the PCIe IP block (6Q, 6SX, etc). This patch has zero functional impact, however it makes the code easier to extend for the case of more than 2 possible variants of an IP block (of which there are). Signed-off-by: Andrey Smirn