gpio: wcove: Get rid of error prone casting in IRQ handler
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 29 Jan 2019 14:40:50 +0000 (16:40 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 15 Feb 2021 10:43:32 +0000 (11:43 +0100)
commit2edba74c9d3499472caf6f76e518b4d9d1b04e6e
tree881494aaeca41d498b997c9dbc2a18c853825663
parent944dcbe84b8ab7efdfcc592b6905a797324da51c
gpio: wcove: Get rid of error prone casting in IRQ handler

The casting from int to long on 64-bit platform is error prone.
Replace it with proper type of the variable on stack.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpio-wcove.c