pinctrl: bcm2835: Drop unused define
authorStefan Wahren <stefan.wahren@i2se.com>
Mon, 27 Jan 2020 18:15:05 +0000 (19:15 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 14 Feb 2020 10:46:47 +0000 (11:46 +0100)
There is no usage for this define, so drop it.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Link: https://lore.kernel.org/r/1580148908-4863-2-git-send-email-stefan.wahren@i2se.com
Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/bcm/pinctrl-bcm2835.c

index 0de1a3a96984cce09bcb0ce406a3a44a4eeebfe1..3fc26389a573839347f36b2996347d4bfaf06783 100644 (file)
@@ -40,9 +40,6 @@
 #define BCM2835_NUM_BANKS 2
 #define BCM2835_NUM_IRQS  3
 
-#define BCM2835_PIN_BITMAP_SZ \
-       DIV_ROUND_UP(BCM2835_NUM_GPIOS, sizeof(unsigned long) * 8)
-
 /* GPIO register offsets */
 #define GPFSEL0                0x0     /* Function Select */
 #define GPSET0         0x1c    /* Pin Output Set */