linux/drivers/hwmon/pmbus/max16064.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Hardware monitoring driver for Maxim MAX16064
 *
 * Copyright (c) 2011 Ericsson AB.
 */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include "pmbus.h"

#define MAX16064_MFR_VOUT_PEAK
#define MAX16064_MFR_TEMPERATURE_PEAK

static int max16064_read_word_data(struct i2c_client *client, int page,
				   int phase, int reg)
{}

static int max16064_write_word_data(struct i2c_client *client, int page,
				    int reg, u16 word)
{}

static struct pmbus_driver_info max16064_info =;

static int max16064_probe(struct i2c_client *client)
{}

static const struct i2c_device_id max16064_id[] =;

MODULE_DEVICE_TABLE(i2c, max16064_id);

/* This is the driver that will be inserted */
static struct i2c_driver max16064_driver =;

module_i2c_driver();

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