]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: zynq_gpio: bank description should use unsigned type
authorMichal Simek <michal.simek@xilinx.com>
Wed, 13 Jun 2018 11:22:08 +0000 (13:22 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 15 Jun 2018 06:54:05 +0000 (08:54 +0200)
commit01fcf01e8194d65985da4432f53394bfcb98cbfe
tree46792e0ba44b3de08072f1f390390b16b02915f1
parente3c26b8d954084613de7a13fa6472d2f03429d0e
gpio: zynq_gpio: bank description should use unsigned type

Use u32 instead of int for max_bank, bank_min and bank_max. These values
can't be negative that's why no reason to use signed type.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/gpio/zynq_gpio.c