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

From: Fabio Estevam
Date: Thu Apr 28 2016 - 21:46:40 EST


On Wed, Apr 20, 2016 at 12:45 PM, Andrey Smirnov
<andrew.smirnov@xxxxxxxxx> 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 of an IP block (of which there are).
>
> Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx>

Reviewed-by: Fabio Estevam <fabio.estevam@xxxxxxx>