linux/drivers/hwmon/ltc2947-spi.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Analog Devices LTC2947 high precision power and energy monitor over SPI
 *
 * Copyright 2019 Analog Devices Inc.
 */
#include <linux/module.h>
#include <linux/of.h>
#include <linux/regmap.h>
#include <linux/spi/spi.h>

#include "ltc2947.h"

static const struct regmap_config ltc2947_regmap_config =;

static int ltc2947_probe(struct spi_device *spi)
{}

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

static struct spi_driver ltc2947_driver =;
module_spi_driver();

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