|
@@ -170,7 +170,7 @@ static int tps65217_probe(struct i2c_client *client,
|
|
"Failed to find matching dt id\n");
|
|
"Failed to find matching dt id\n");
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
}
|
|
}
|
|
- chip_id = (unsigned int)match->data;
|
|
|
|
|
|
+ chip_id = (unsigned int)(unsigned long)match->data;
|
|
status_off = of_property_read_bool(client->dev.of_node,
|
|
status_off = of_property_read_bool(client->dev.of_node,
|
|
"ti,pmic-shutdown-controller");
|
|
"ti,pmic-shutdown-controller");
|
|
}
|
|
}
|