bus: fsl-mc: simplify DPRC version check
authorIoana Ciornei <ioana.ciornei@nxp.com>
Mon, 23 Nov 2020 16:48:39 +0000 (18:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Dec 2020 18:51:22 +0000 (19:51 +0100)
commitfe34761d9f5febafd189de608eb9f50d78aac107
tree22a7815906204ba97ab04ea3797c7dd8f24f2ec3
parent3d70fb03711c37bc64e8e9aea5830f498835f6bf
bus: fsl-mc: simplify DPRC version check

Because the minimum supported DPRC version is 6.0, there is no need to
check for incompatible 6.x versions lower to the minimum one.  Just
remove the second half of the check to simplify the logic.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://lore.kernel.org/r/20201123164839.1668409-1-ciorneiioana@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bus/fsl-mc/dprc-driver.c