88pm80x_onkey.c (1cb0aa88179b7a71c240529e9d781d7bbb43d2e8) | 88pm80x_onkey.c (5298cc4cc753bbe4c530b41341834f6ef3344d0d) |
---|---|
1/* 2 * Marvell 88PM80x ONKEY driver 3 * 4 * Copyright (C) 2012 Marvell International Ltd. 5 * Haojian Zhuang <haojian.zhuang@marvell.com> 6 * Qiao Zhou <zhouqiao@marvell.com> 7 * 8 * This file is subject to the terms and conditions of the GNU General --- 48 unchanged lines hidden (view full) --- 57 input_sync(info->idev); 58 59 return IRQ_HANDLED; 60} 61 62static SIMPLE_DEV_PM_OPS(pm80x_onkey_pm_ops, pm80x_dev_suspend, 63 pm80x_dev_resume); 64 | 1/* 2 * Marvell 88PM80x ONKEY driver 3 * 4 * Copyright (C) 2012 Marvell International Ltd. 5 * Haojian Zhuang <haojian.zhuang@marvell.com> 6 * Qiao Zhou <zhouqiao@marvell.com> 7 * 8 * This file is subject to the terms and conditions of the GNU General --- 48 unchanged lines hidden (view full) --- 57 input_sync(info->idev); 58 59 return IRQ_HANDLED; 60} 61 62static SIMPLE_DEV_PM_OPS(pm80x_onkey_pm_ops, pm80x_dev_suspend, 63 pm80x_dev_resume); 64 |
65static int __devinit pm80x_onkey_probe(struct platform_device *pdev) | 65static int pm80x_onkey_probe(struct platform_device *pdev) |
66{ 67 68 struct pm80x_chip *chip = dev_get_drvdata(pdev->dev.parent); 69 struct pm80x_onkey_info *info; 70 int err; 71 72 info = kzalloc(sizeof(struct pm80x_onkey_info), GFP_KERNEL); 73 if (!info) --- 95 unchanged lines hidden --- | 66{ 67 68 struct pm80x_chip *chip = dev_get_drvdata(pdev->dev.parent); 69 struct pm80x_onkey_info *info; 70 int err; 71 72 info = kzalloc(sizeof(struct pm80x_onkey_info), GFP_KERNEL); 73 if (!info) --- 95 unchanged lines hidden --- |