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

Fabio Estevam festevam at gmail.com
Thu Apr 28 18:46:17 PDT 2016


On Wed, Apr 20, 2016 at 12:45 PM, Andrey Smirnov
<andrew.smirnov at gmail.com> 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 at gmail.com>

Reviewed-by: Fabio Estevam <fabio.estevam at nxp.com>



More information about the linux-arm-kernel mailing list