linux/drivers/iio/magnetometer/hmc5843_spi.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * SPI driver for hmc5983
 *
 * Copyright (C) Josef Gajdusek <[email protected]>
 */

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

#include "hmc5843.h"

static const struct regmap_range hmc5843_readable_ranges[] =;

static const struct regmap_access_table hmc5843_readable_table =;

static const struct regmap_range hmc5843_writable_ranges[] =;

static const struct regmap_access_table hmc5843_writable_table =;

static const struct regmap_range hmc5843_volatile_ranges[] =;

static const struct regmap_access_table hmc5843_volatile_table =;

static const struct regmap_config hmc5843_spi_regmap_config =;

static int hmc5843_spi_probe(struct spi_device *spi)
{}

static void hmc5843_spi_remove(struct spi_device *spi)
{}

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

static struct spi_driver hmc5843_driver =;

module_spi_driver();

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