summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-gw-pld.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-gw-pld.c')
-rw-r--r--drivers/gpio/gpio-gw-pld.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-gw-pld.c b/drivers/gpio/gpio-gw-pld.c
index 77a3fbd46111..2109803ffb38 100644
--- a/drivers/gpio/gpio-gw-pld.c
+++ b/drivers/gpio/gpio-gw-pld.c
@@ -71,7 +71,6 @@ static int gw_pld_probe(struct i2c_client *client,
const struct i2c_device_id *id)
{
struct device *dev = &client->dev;
- struct device_node *np = dev->of_node;
struct gw_pld *gw;
int ret;