|
@@ -458,6 +458,7 @@ max8925_power_dt_init(struct platform_device *pdev)
|
|
|
of_property_read_u32(np, "fast-charge", &fast_charge);
|
|
|
of_property_read_u32(np, "no-insert-detect", &no_insert_detect);
|
|
|
of_property_read_u32(np, "no-temp-support", &no_temp_support);
|
|
|
+ of_node_put(np);
|
|
|
|
|
|
pdata->batt_detect = batt_detect;
|
|
|
pdata->fast_charge = fast_charge;
|