iio: Remove unused declarations
Commit0f3a8c3f34
("iio: Add support for creating IIO devices via configfs") declared but never implemented iio_sw_device_type_configfs_{un}register(). Commitb662f809d4
("iio: core: Introduce IIO software triggers") declared but never implemented iio_sw_trigger_type_configfs_{un}register(). Commita3e0b51884
("iio: accel: add support for FXLS8962AF/FXLS8964AF accelerometers") declared but never implemented fxls8962af_core_remove(). Commit8dedcc3eee
("iio: core: centralize ioctl() calls to the main chardev") declared but never implemented iio_device_ioctl(). Commitd430f3c36c
("iio: imu: inv_mpu6050: Use regmap instead of i2c specific functions") removed inv_mpu6050_write_reg() but not its declaration. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Link: https://lore.kernel.org/r/20230811095701.35372-1-yuehaibing@huawei.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
fc1d297b92
commit
4eaf928622
@ -14,7 +14,6 @@ enum {
|
|||||||
};
|
};
|
||||||
|
|
||||||
int fxls8962af_core_probe(struct device *dev, struct regmap *regmap, int irq);
|
int fxls8962af_core_probe(struct device *dev, struct regmap *regmap, int irq);
|
||||||
int fxls8962af_core_remove(struct device *dev);
|
|
||||||
|
|
||||||
extern const struct dev_pm_ops fxls8962af_pm_ops;
|
extern const struct dev_pm_ops fxls8962af_pm_ops;
|
||||||
extern const struct regmap_config fxls8962af_i2c_regmap_conf;
|
extern const struct regmap_config fxls8962af_i2c_regmap_conf;
|
||||||
|
@ -30,9 +30,6 @@ struct iio_ioctl_handler {
|
|||||||
unsigned int cmd, unsigned long arg);
|
unsigned int cmd, unsigned long arg);
|
||||||
};
|
};
|
||||||
|
|
||||||
long iio_device_ioctl(struct iio_dev *indio_dev, struct file *filp,
|
|
||||||
unsigned int cmd, unsigned long arg);
|
|
||||||
|
|
||||||
void iio_device_ioctl_handler_register(struct iio_dev *indio_dev,
|
void iio_device_ioctl_handler_register(struct iio_dev *indio_dev,
|
||||||
struct iio_ioctl_handler *h);
|
struct iio_ioctl_handler *h);
|
||||||
void iio_device_ioctl_handler_unregister(struct iio_ioctl_handler *h);
|
void iio_device_ioctl_handler_unregister(struct iio_ioctl_handler *h);
|
||||||
|
@ -464,7 +464,6 @@ int inv_mpu6050_probe_trigger(struct iio_dev *indio_dev, int irq_type);
|
|||||||
int inv_mpu6050_prepare_fifo(struct inv_mpu6050_state *st, bool enable);
|
int inv_mpu6050_prepare_fifo(struct inv_mpu6050_state *st, bool enable);
|
||||||
int inv_mpu6050_switch_engine(struct inv_mpu6050_state *st, bool en,
|
int inv_mpu6050_switch_engine(struct inv_mpu6050_state *st, bool en,
|
||||||
unsigned int mask);
|
unsigned int mask);
|
||||||
int inv_mpu6050_write_reg(struct inv_mpu6050_state *st, int reg, u8 val);
|
|
||||||
int inv_mpu_acpi_create_mux_client(struct i2c_client *client);
|
int inv_mpu_acpi_create_mux_client(struct i2c_client *client);
|
||||||
void inv_mpu_acpi_delete_mux_client(struct i2c_client *client);
|
void inv_mpu_acpi_delete_mux_client(struct i2c_client *client);
|
||||||
int inv_mpu_core_probe(struct regmap *regmap, int irq, const char *name,
|
int inv_mpu_core_probe(struct regmap *regmap, int irq, const char *name,
|
||||||
|
@ -51,9 +51,6 @@ void iio_unregister_sw_device_type(struct iio_sw_device_type *dt);
|
|||||||
struct iio_sw_device *iio_sw_device_create(const char *, const char *);
|
struct iio_sw_device *iio_sw_device_create(const char *, const char *);
|
||||||
void iio_sw_device_destroy(struct iio_sw_device *);
|
void iio_sw_device_destroy(struct iio_sw_device *);
|
||||||
|
|
||||||
int iio_sw_device_type_configfs_register(struct iio_sw_device_type *dt);
|
|
||||||
void iio_sw_device_type_configfs_unregister(struct iio_sw_device_type *dt);
|
|
||||||
|
|
||||||
static inline
|
static inline
|
||||||
void iio_swd_group_init_type_name(struct iio_sw_device *d,
|
void iio_swd_group_init_type_name(struct iio_sw_device *d,
|
||||||
const char *name,
|
const char *name,
|
||||||
|
@ -51,9 +51,6 @@ void iio_unregister_sw_trigger_type(struct iio_sw_trigger_type *tt);
|
|||||||
struct iio_sw_trigger *iio_sw_trigger_create(const char *, const char *);
|
struct iio_sw_trigger *iio_sw_trigger_create(const char *, const char *);
|
||||||
void iio_sw_trigger_destroy(struct iio_sw_trigger *);
|
void iio_sw_trigger_destroy(struct iio_sw_trigger *);
|
||||||
|
|
||||||
int iio_sw_trigger_type_configfs_register(struct iio_sw_trigger_type *tt);
|
|
||||||
void iio_sw_trigger_type_configfs_unregister(struct iio_sw_trigger_type *tt);
|
|
||||||
|
|
||||||
static inline
|
static inline
|
||||||
void iio_swt_group_init_type_name(struct iio_sw_trigger *t,
|
void iio_swt_group_init_type_name(struct iio_sw_trigger *t,
|
||||||
const char *name,
|
const char *name,
|
||||||
|
Loading…
Reference in New Issue
Block a user