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>
This commit is contained in:
committed by
Dmitry Torokhov
parent
81b4d1d22c
commit
4ea8391e35
@@ -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
|
||||
Reference in New Issue
Block a user