[PATCH 6.1 055/128] gpio: davinci: Validate the obtained number of IRQs