linux/drivers/iio/magnetometer/rm3100-spi.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Support for PNI RM3100 3-axis geomagnetic sensor on a spi bus.
 *
 * Copyright (C) 2018 Song Qiang <[email protected]>
 */

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

#include "rm3100.h"

static const struct regmap_config rm3100_regmap_config =;

static int rm3100_probe(struct spi_device *spi)
{}

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

static struct spi_driver rm3100_driver =;
module_spi_driver();

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