drivers/gpio/pm8916_gpio.c: Make pid be uint32_t
authorTom Rini <trini@konsulko.com>
Tue, 12 Apr 2016 19:11:23 +0000 (15:11 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 18 Apr 2016 21:11:42 +0000 (17:11 -0400)
commitaa997d1d774416b3525d44779ee7ff9914b6abcb
treeb289b12c1526eb8544f69a04c4c5e508524af6b0
parent55ac54c4a0acbdc786b16dc1b12a661f9dbdb305
drivers/gpio/pm8916_gpio.c: Make pid be uint32_t

If get_dev_addr fails it will return FDT_ADDR_T_NONE and:
>>>     "priv->pid == 4294967295U" is always false regardless of the values of its operands. This occurs as the logical operand of if.

Cc: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Reported-by: Coverity (CID: 143913)
Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/gpio/pm8916_gpio.c