Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/power/reset/
Dtps65086-restart.c12 struct tps65086_restart { struct
20 struct tps65086_restart *tps65086_restart = in tps65086_restart_notify() argument
21 container_of(this, struct tps65086_restart, handler); in tps65086_restart_notify()
22 struct tps65086 *tps65086 = dev_get_drvdata(tps65086_restart->dev->parent); in tps65086_restart_notify()
27 dev_err(tps65086_restart->dev, "%s: error writing to tps65086 pmic: %d\n", in tps65086_restart_notify()
42 struct tps65086_restart *tps65086_restart; in tps65086_restart_probe() local
45 tps65086_restart = devm_kzalloc(&pdev->dev, sizeof(*tps65086_restart), GFP_KERNEL); in tps65086_restart_probe()
46 if (!tps65086_restart) in tps65086_restart_probe()
49 platform_set_drvdata(pdev, tps65086_restart); in tps65086_restart_probe()
51 tps65086_restart->handler.notifier_call = tps65086_restart_notify; in tps65086_restart_probe()
[all …]