da9052_onkey.c (1cb0aa88179b7a71c240529e9d781d7bbb43d2e8) da9052_onkey.c (5298cc4cc753bbe4c530b41341834f6ef3344d0d)
1/*
2 * ON pin driver for Dialog DA9052 PMICs
3 *
4 * Copyright(c) 2012 Dialog Semiconductor Ltd.
5 *
6 * Author: David Dajun Chen <dchen@diasemi.com>
7 *
8 * This program is free software; you can redistribute it and/or modify it

--- 57 unchanged lines hidden (view full) ---

66{
67 struct da9052_onkey *onkey = data;
68
69 da9052_onkey_query(onkey);
70
71 return IRQ_HANDLED;
72}
73
1/*
2 * ON pin driver for Dialog DA9052 PMICs
3 *
4 * Copyright(c) 2012 Dialog Semiconductor Ltd.
5 *
6 * Author: David Dajun Chen <dchen@diasemi.com>
7 *
8 * This program is free software; you can redistribute it and/or modify it

--- 57 unchanged lines hidden (view full) ---

66{
67 struct da9052_onkey *onkey = data;
68
69 da9052_onkey_query(onkey);
70
71 return IRQ_HANDLED;
72}
73
74static int __devinit da9052_onkey_probe(struct platform_device *pdev)
74static int da9052_onkey_probe(struct platform_device *pdev)
75{
76 struct da9052 *da9052 = dev_get_drvdata(pdev->dev.parent);
77 struct da9052_onkey *onkey;
78 struct input_dev *input_dev;
79 int irq;
80 int error;
81
82 if (!da9052) {

--- 88 unchanged lines hidden ---
75{
76 struct da9052 *da9052 = dev_get_drvdata(pdev->dev.parent);
77 struct da9052_onkey *onkey;
78 struct input_dev *input_dev;
79 int irq;
80 int error;
81
82 if (!da9052) {

--- 88 unchanged lines hidden ---