#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/regmap.h>
#include <linux/mfd/88pm860x.h>
int pm860x_reg_read(struct i2c_client *i2c, int reg)
{ … }
EXPORT_SYMBOL(…);
int pm860x_reg_write(struct i2c_client *i2c, int reg,
unsigned char data)
{ … }
EXPORT_SYMBOL(…);
int pm860x_bulk_read(struct i2c_client *i2c, int reg,
int count, unsigned char *buf)
{ … }
EXPORT_SYMBOL(…);
int pm860x_bulk_write(struct i2c_client *i2c, int reg,
int count, unsigned char *buf)
{ … }
EXPORT_SYMBOL(…);
int pm860x_set_bits(struct i2c_client *i2c, int reg,
unsigned char mask, unsigned char data)
{ … }
EXPORT_SYMBOL(…);
static int read_device(struct i2c_client *i2c, int reg,
int bytes, void *dest)
{ … }
static int write_device(struct i2c_client *i2c, int reg,
int bytes, void *src)
{ … }
int pm860x_page_reg_write(struct i2c_client *i2c, int reg,
unsigned char data)
{ … }
EXPORT_SYMBOL(…);
int pm860x_page_bulk_read(struct i2c_client *i2c, int reg,
int count, unsigned char *buf)
{ … }
EXPORT_SYMBOL(…);