MLK-20213-1 soc: imx: gpc: fix coverity issue
authorAnson Huang <Anson.Huang@nxp.com>
Sat, 3 Nov 2018 04:30:31 +0000 (12:30 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit167038e2f9ccac80d916b305ec4dedde26705013
tree5c446b5adde19e4fc2c9dd160c7e31876e86863a
parentde0b25ac8811e4088a67b383b9569a2ed64a701f
MLK-20213-1 soc: imx: gpc: fix coverity issue

This patch fixes coverity issue of "divide by 0".

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Bai Ping <ping.bai@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
drivers/soc/imx/gpc.c