linux/drivers/pinctrl/bcm
Álvaro Fernández Rojas 1978d88cdc pinctrl: bcm: bcm6362: fix warning
The current implementation of bcm6362_set_gpio() produces the following
warning on x86_64:
drivers/pinctrl/bcm/pinctrl-bcm6362.c: In function 'bcm6362_set_gpio':
drivers/pinctrl/bcm/pinctrl-bcm6362.c:503:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  503 |        (uint32_t) desc->drv_data, 0);
      |        ^

Modify the code to make it similar to bcm63268_set_gpio() in order to fix
the warning.

Fixes: 705791e23e ("pinctrl: add a pincontrol driver for BCM6362")
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Link: https://lore.kernel.org/r/20210330103225.3949-1-noltari@gmail.com
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2021-03-31 14:33:48 +02:00
..
Kconfig pinctrl: add a pincontrol driver for BCM6318 2021-03-29 12:20:09 +02:00
Makefile pinctrl: add a pincontrol driver for BCM6318 2021-03-29 12:20:09 +02:00
pinctrl-bcm63xx.c pinctrl: bcm: add bcm63xx base code 2021-03-29 12:20:07 +02:00
pinctrl-bcm63xx.h pinctrl: bcm: add bcm63xx base code 2021-03-29 12:20:07 +02:00
pinctrl-bcm281xx.c pinctrl: bcm: pinctrl-bcm281xx: Demote obvious misuse of kerneldoc to standard comment blocks 2020-07-16 15:12:38 +02:00
pinctrl-bcm2835.c pinctrl: bcm2835: Add support for wake-up interrupts 2020-06-03 14:16:38 +02:00
pinctrl-bcm6318.c pinctrl: add a pincontrol driver for BCM6318 2021-03-29 12:20:09 +02:00
pinctrl-bcm6328.c pinctrl: add a pincontrol driver for BCM6328 2021-03-29 12:20:07 +02:00
pinctrl-bcm6358.c pinctrl: add a pincontrol driver for BCM6358 2021-03-29 12:20:07 +02:00
pinctrl-bcm6362.c pinctrl: bcm: bcm6362: fix warning 2021-03-31 14:33:48 +02:00
pinctrl-bcm6368.c pinctrl: add a pincontrol driver for BCM6368 2021-03-29 12:20:08 +02:00
pinctrl-bcm63268.c pinctrl: add a pincontrol driver for BCM63268 2021-03-29 12:20:08 +02:00
pinctrl-cygnus-mux.c pinctrl: use devm_platform_ioremap_resource() to simplify code 2019-11-05 15:33:40 +01:00
pinctrl-iproc-gpio.c pinctrl: bcm: pinctrl-iproc-gpio: Rename incorrectly documented function param 2020-07-16 15:12:38 +02:00
pinctrl-ns2-mux.c pinctrl: bcm: Simplify bool comparison 2021-01-18 16:30:08 +01:00
pinctrl-ns.c
pinctrl-nsp-gpio.c pinctrl: nsp: Set irq handler based on trig type 2020-07-11 23:09:12 +02:00
pinctrl-nsp-mux.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00