1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __LINUX_I2C_MAX732X_H
3 #define __LINUX_I2C_MAX732X_H
5 /* platform data for the MAX732x 8/16-bit I/O expander driver */
7 struct max732x_platform_data
{
8 /* number of the first GPIO */
14 void *context
; /* param to setup/teardown */
16 int (*setup
)(struct i2c_client
*client
,
17 unsigned gpio
, unsigned ngpio
,
19 int (*teardown
)(struct i2c_client
*client
,
20 unsigned gpio
, unsigned ngpio
,
23 #endif /* __LINUX_I2C_MAX732X_H */