linux/drivers/iio/gyro/fxas21002c_spi.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Driver for NXP Fxas21002c Gyroscope - SPI
 *
 * Copyright (C) 2019 Linaro Ltd.
 */

#include <linux/err.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/regmap.h>
#include <linux/spi/spi.h>

#include "fxas21002c.h"

static const struct regmap_config fxas21002c_regmap_spi_conf =;

static int fxas21002c_spi_probe(struct spi_device *spi)
{}

static void fxas21002c_spi_remove(struct spi_device *spi)
{}

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

static const struct of_device_id fxas21002c_spi_of_match[] =;
MODULE_DEVICE_TABLE(of, fxas21002c_spi_of_match);

static struct spi_driver fxas21002c_spi_driver =;
module_spi_driver();

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