linux/drivers/iio/pressure/mpl115_i2c.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Freescale MPL115A2 pressure/temperature sensor
 *
 * Copyright (c) 2014 Peter Meerwald <[email protected]>
 *
 * (7-bit I2C slave address 0x60)
 *
 * Datasheet: http://www.nxp.com/files/sensors/doc/data_sheet/MPL115A2.pdf
 */

#include <linux/module.h>
#include <linux/i2c.h>

#include "mpl115.h"

static int mpl115_i2c_init(struct device *dev)
{}

static int mpl115_i2c_read(struct device *dev, u8 address)
{}

static int mpl115_i2c_write(struct device *dev, u8 address, u8 value)
{}

static const struct mpl115_ops mpl115_i2c_ops =;

static int mpl115_i2c_probe(struct i2c_client *client)
{}

static const struct i2c_device_id mpl115_i2c_id[] =;
MODULE_DEVICE_TABLE(i2c, mpl115_i2c_id);

static struct i2c_driver mpl115_i2c_driver =;
module_i2c_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_IMPORT_NS();