Lines Matching +full:rave +full:- +full:sp +full:- +full:pwrbutton
1 // SPDX-License-Identifier: GPL-2.0+
3 // Power Button driver for RAVE SP
12 #include <linux/mfd/rave-sp.h>
29 struct input_dev *idev = pb->idev; in rave_sp_power_button_event()
43 struct device *dev = &pdev->dev; in rave_sp_pwrbutton_probe()
50 return -ENOMEM; in rave_sp_pwrbutton_probe()
54 return -ENOMEM; in rave_sp_pwrbutton_probe()
56 idev->name = pdev->name; in rave_sp_pwrbutton_probe()
64 pb->idev = idev; in rave_sp_pwrbutton_probe()
65 pb->nb.notifier_call = rave_sp_power_button_event; in rave_sp_pwrbutton_probe()
66 pb->nb.priority = 128; in rave_sp_pwrbutton_probe()
68 error = devm_rave_sp_register_event_notifier(dev, &pb->nb); in rave_sp_pwrbutton_probe()
76 { .compatible = "zii,rave-sp-pwrbutton" },
94 MODULE_DESCRIPTION("RAVE SP Power Button driver");