Subject: Patch "pinctrl: bcm2835: Drop unused define" has been added to the 5.4-stable tree

From: <[email-masked]>
Date: Thu, 27 Jan 2022 17:01:49 +0100

This is a note to let you know that I've just added the patch titled

    pinctrl: bcm2835: Drop unused define

to the 5.4-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     pinctrl-bcm2835-drop-unused-define.patch
and it can be found in the queue-5.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email-masked]> know about it.

>From foo@baz Thu Jan 27 04:40:37 PM CET 2022
From: Florian Fainelli <[email-masked]>
Date: Tue, 25 Jan 2022 11:42:16 -0800
Subject: pinctrl: bcm2835: Drop unused define
To: [email-masked]
Cc: Stefan Wahren <[email-masked]>, Nicolas Saenz Julienne <[email-masked]>, Linus Walleij <[email-masked]>, Florian Fainelli <[email-masked]>, Rob Herring <[email-masked]>, Mark Rutland <[email-masked]>, Ray Jui <[email-masked]>, Scott Branden <[email-masked]>, [email-masked] (maintainer:BROADCOM BCM281XX/BCM11XXX/BCM216XX ARM ARCHITE...), Eric Anholt <[email-masked]>, Stefan Wahren <[email-masked]>, Nicolas Saenz Julienne <[email-masked]>, Phil Elwell <[email-masked]>, [email-masked] (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), [email-masked] (open list), [email-masked] (open list:PIN CONTROL SUBSYSTEM), [email-masked] (moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE), [email-masked] (moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE)
Message-ID: <[email-masked]>

From: Stefan Wahren <[email-masked]>

commit be30d5de0a5a52c6ee2cc453a51301037ab94aa upstream

There is no usage for this define, so drop it.

Signed-off-by: Stefan Wahren <[email-masked]>
Link: https://lore.kernel.org/r/[email-masked]
Reviewed-by: Nicolas Saenz Julienne <[email-masked]>
Signed-off-by: Linus Walleij <[email-masked]>
Signed-off-by: Florian Fainelli <[email-masked]>
Signed-off-by: Greg Kroah-Hartman <[email-masked]>
---
 drivers/pinctrl/bcm/pinctrl-bcm2835.c |    3 ---
 1 file changed, 3 deletions(-)

--- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c
+++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c
@@ -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 */

Patches currently in stable-queue which might be from [email-masked] are

queue-5.4/pinctrl-bcm2835-drop-unused-define.patch
queue-5.4/arm-dts-gpio-ranges-property-is-now-required.patch
queue-5.4/pinctrl-bcm2835-add-support-for-wake-up-interrupts.patch
queue-5.4/pinctrl-bcm2835-change-init-order-for-gpio-hogs.patch
queue-5.4/pinctrl-bcm2835-refactor-platform-data.patch
queue-5.4/pinctrl-bcm2835-match-bcm7211-compatible-string.patch
queue-5.4/pinctrl-bcm2835-add-support-for-all-gpios-on-bcm2711.patch

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel