diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2020-04-18 13:40:09 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2020-04-19 09:57:29 -0700 |
commit | 4ea8391e3556ad08ff0ea8fb282f9a550b8a3333 (patch) | |
tree | 0ed37651a49a12e216ed22cdec1efebd8c0398c1 /include/linux/input | |
parent | 81b4d1d22ca0d0162360d3536b0eb3f6d5bfcf88 (diff) | |
download | linux-stable-4ea8391e3556ad08ff0ea8fb282f9a550b8a3333.tar.gz linux-stable-4ea8391e3556ad08ff0ea8fb282f9a550b8a3333.tar.bz2 linux-stable-4ea8391e3556ad08ff0ea8fb282f9a550b8a3333.zip |
Input: delete unused GP2AP002A00F driver
There is now an IIO driver for GP2AP002A00F and GP2AP002S00F in
drivers/iio/light/gp2ap002.c.
Delete this driver, it is unused in the kernel tree and new users can make
use of the IIO driver.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20200417203059.8151-1-linus.walleij@linaro.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/input')
-rw-r--r-- | include/linux/input/gp2ap002a00f.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/include/linux/input/gp2ap002a00f.h b/include/linux/input/gp2ap002a00f.h deleted file mode 100644 index 3614a13a8297..000000000000 --- a/include/linux/input/gp2ap002a00f.h +++ /dev/null @@ -1,23 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _GP2AP002A00F_H_ -#define _GP2AP002A00F_H_ - -#include <linux/i2c.h> - -#define GP2A_I2C_NAME "gp2ap002a00f" - -/** - * struct gp2a_platform_data - Sharp gp2ap002a00f proximity platform data - * @vout_gpio: The gpio connected to the object detected pin (VOUT) - * @wakeup: Set to true if the proximity can wake the device from suspend - * @hw_setup: Callback for setting up hardware such as gpios and vregs - * @hw_shutdown: Callback for properly shutting down hardware - */ -struct gp2a_platform_data { - int vout_gpio; - bool wakeup; - int (*hw_setup)(struct i2c_client *client); - int (*hw_shutdown)(struct i2c_client *client); -}; - -#endif |