diff options
Diffstat (limited to 'target/linux/generic')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/adm6996.c | 5 | ||||
-rw-r--r-- | target/linux/generic/files/include/linux/platform_data/adm6996-gpio.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/adm6996.c b/target/linux/generic/files/drivers/net/phy/adm6996.c index 25776b8366..d9ea828929 100644 --- a/target/linux/generic/files/drivers/net/phy/adm6996.c +++ b/target/linux/generic/files/drivers/net/phy/adm6996.c @@ -67,7 +67,6 @@ struct adm6996_priv { u8 eecs; u8 eesk; u8 eedi; - u8 eerc; enum adm6996_model model; @@ -1141,7 +1140,6 @@ static int adm6996_gpio_probe(struct platform_device *pdev) priv->eecs = pdata->eecs; priv->eedi = pdata->eedi; - priv->eerc = pdata->eerc; priv->eesk = pdata->eesk; priv->model = pdata->model; @@ -1154,9 +1152,6 @@ static int adm6996_gpio_probe(struct platform_device *pdev) ret = devm_gpio_request(&pdev->dev, priv->eedi, "adm_eedi"); if (ret) return ret; - ret = devm_gpio_request(&pdev->dev, priv->eerc, "adm_eerc"); - if (ret) - return ret; ret = devm_gpio_request(&pdev->dev, priv->eesk, "adm_eesk"); if (ret) return ret; diff --git a/target/linux/generic/files/include/linux/platform_data/adm6996-gpio.h b/target/linux/generic/files/include/linux/platform_data/adm6996-gpio.h index e4fcfafa74..d5af9bbf6e 100644 --- a/target/linux/generic/files/include/linux/platform_data/adm6996-gpio.h +++ b/target/linux/generic/files/include/linux/platform_data/adm6996-gpio.h @@ -23,7 +23,6 @@ struct adm6996_gpio_platform_data { u8 eecs; u8 eesk; u8 eedi; - u8 eerc; enum adm6996_model model; }; |