Searched refs:tps65086_restart (Results 1 – 1 of 1) sorted by relevance
12 struct tps65086_restart { struct20 struct tps65086_restart *tps65086_restart = in tps65086_restart_notify() argument21 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() local45 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 …]