linux/drivers/iio/pressure/mpl115_spi.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Freescale MPL115A1 pressure/temperature sensor
 *
 * Copyright (c) 2016 Akinobu Mita <[email protected]>
 *
 * Datasheet: http://www.nxp.com/files/sensors/doc/data_sheet/MPL115A1.pdf
 */

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

#include "mpl115.h"

#define MPL115_SPI_WRITE(address)
#define MPL115_SPI_READ(address)

struct mpl115_spi_buf {};

static int mpl115_spi_init(struct device *dev)
{}

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

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

static const struct mpl115_ops mpl115_spi_ops =;

static int mpl115_spi_probe(struct spi_device *spi)
{}

static const struct spi_device_id mpl115_spi_ids[] =;
MODULE_DEVICE_TABLE(spi, mpl115_spi_ids);

static struct spi_driver mpl115_spi_driver =;
module_spi_driver();

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