]> Git Repo - linux.git/blobdiff - drivers/gpio/gpio-brcmstb.c
ACPI: CPPC: Adjust debug messages in amd_set_max_freq_ratio() to warn
[linux.git] / drivers / gpio / gpio-brcmstb.c
index 8dce78ea71395d56a92c179a35b50bd8c054617f..5762e517338eea0e4ee4bf2f2ed1261d0d2a7938 100644 (file)
@@ -591,8 +591,6 @@ static int brcmstb_gpio_probe(struct platform_device *pdev)
        void __iomem *reg_base;
        struct brcmstb_gpio_priv *priv;
        struct resource *res;
-       struct property *prop;
-       const __be32 *p;
        u32 bank_width;
        int num_banks = 0;
        int num_gpios = 0;
@@ -636,8 +634,7 @@ static int brcmstb_gpio_probe(struct platform_device *pdev)
        flags = BGPIOF_BIG_ENDIAN_BYTE_ORDER;
 #endif
 
-       of_property_for_each_u32(np, "brcm,gpio-bank-widths", prop, p,
-                       bank_width) {
+       of_property_for_each_u32(np, "brcm,gpio-bank-widths", bank_width) {
                struct brcmstb_gpio_bank *bank;
                struct gpio_chip *gc;
 
This page took 0.032005 seconds and 4 git commands to generate.