diff options
| author | Marek Vasut <[email protected]> | 2025-10-27 17:35:34 +0100 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2025-11-06 20:09:58 +0100 |
| commit | 0a6b4b1c3630c8ada27f87be828a8b95d9c2040b (patch) | |
| tree | dd0986d0bfd7b611025869f57d3482c4d3295564 /drivers | |
| parent | 3d50dba3a3ccd71085ecce37c56fd1d7b2502b92 (diff) | |
gpio: renesas: Drop pfc_offset parsing
The PFC offset is no longer used directly in the driver since commit
fbf26bea3964 ("gpio: renesas: Migrate to pinctrl GPIO accessors")
Drop the pfc_offset parsing.
Fixes: fbf26bea3964 ("gpio: renesas: Migrate to pinctrl GPIO accessors")
Signed-off-by: Marek Vasut <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/gpio/gpio-rcar.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c index d1a39938809..109383e83d5 100644 --- a/drivers/gpio/gpio-rcar.c +++ b/drivers/gpio/gpio-rcar.c @@ -38,7 +38,6 @@ DECLARE_GLOBAL_DATA_PTR; struct rcar_gpio_priv { void __iomem *regs; u32 quirks; - int pfc_offset; }; static int rcar_gpio_get_value(struct udevice *dev, unsigned offset) @@ -154,7 +153,6 @@ static int rcar_gpio_probe(struct udevice *dev) ret = fdtdec_parse_phandle_with_args(gd->fdt_blob, node, "gpio-ranges", NULL, 3, 0, &args); - priv->pfc_offset = ret == 0 ? args.args[1] : -1; uc_priv->gpio_count = ret == 0 ? args.args[2] : RCAR_MAX_GPIO_PER_BANK; ret = clk_get_by_index(dev, 0, &clk); |
