diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2017-05-22 00:57:25 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-05-23 12:33:59 +0300 |
commit | 0a848d638a25b4f2767b260ed83c271854e93cce (patch) | |
tree | 54d3125bdd1d1517c5af47abba9553ff390a2bb7 /include/linux/i2c | |
parent | 3b4c94bbacb06aa7ff595041efec82604e44fc59 (diff) | |
download | linux-0a848d638a25b4f2767b260ed83c271854e93cce.tar.xz |
gpio: max732x: move header file out of I2C realm
include/linux/i2c is not for client devices. Move the header file to a
more appropriate location.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/i2c')
-rw-r--r-- | include/linux/i2c/max732x.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/linux/i2c/max732x.h b/include/linux/i2c/max732x.h deleted file mode 100644 index c04bac8bf2fe..000000000000 --- a/include/linux/i2c/max732x.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef __LINUX_I2C_MAX732X_H -#define __LINUX_I2C_MAX732X_H - -/* platform data for the MAX732x 8/16-bit I/O expander driver */ - -struct max732x_platform_data { - /* number of the first GPIO */ - unsigned gpio_base; - - /* interrupt base */ - int irq_base; - - void *context; /* param to setup/teardown */ - - int (*setup)(struct i2c_client *client, - unsigned gpio, unsigned ngpio, - void *context); - int (*teardown)(struct i2c_client *client, - unsigned gpio, unsigned ngpio, - void *context); -}; -#endif /* __LINUX_I2C_MAX732X_H */ |