Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/reset/
H A 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()
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()
52 tps65086_restart->handler.priority = 192; in tps65086_restart_probe()
53 tps65086_restart->dev = &pdev->dev; in tps65086_restart_probe()
55 ret = register_restart_handler(&tps65086_restart->handler); in tps65086_restart_probe()
[all …]