Home
last modified time | relevance | path

Searched refs:notify_psy (Results 1 – 1 of 1) sorted by relevance

/linux-4.1.27/drivers/power/
Dbq2415x_charger.c172 struct power_supply *notify_psy; member
808 if (psy != bq->notify_psy) in bq2415x_notifier_call()
1565 bq->notify_psy = power_supply_get_by_phandle(np, "ti,usb-charger-detection"); in bq2415x_probe()
1567 if (IS_ERR(bq->notify_psy)) { in bq2415x_probe()
1570 PTR_ERR(bq->notify_psy)); in bq2415x_probe()
1571 bq->notify_psy = NULL; in bq2415x_probe()
1572 } else if (!bq->notify_psy) { in bq2415x_probe()
1578 bq->notify_psy = power_supply_get_by_name(pdata->notify_device); in bq2415x_probe()
1580 bq->notify_psy = NULL; in bq2415x_probe()
1642 if (bq->notify_psy) { in bq2415x_probe()
[all …]