linux/drivers/power/supply/bq27xxx_battery_hdq.c

// SPDX-License-Identifier: GPL-2.0
/*
 * BQ27xxx battery monitor HDQ/1-wire driver
 *
 * Copyright (C) 2007-2017 Texas Instruments Incorporated - https://www.ti.com/
 *
 */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/types.h>
#include <linux/platform_device.h>
#include <linux/mutex.h>
#include <linux/power/bq27xxx_battery.h>

#include <linux/w1.h>

#define W1_FAMILY_BQ27000

#define HDQ_CMD_READ
#define HDQ_CMD_WRITE

static int F_ID;
module_param(F_ID, int, S_IRUSR);
MODULE_PARM_DESC();

static int w1_bq27000_read(struct w1_slave *sl, unsigned int reg)
{}

static int bq27xxx_battery_hdq_read(struct bq27xxx_device_info *di, u8 reg,
				    bool single)
{}

static int bq27xxx_battery_hdq_add_slave(struct w1_slave *sl)
{}

static void bq27xxx_battery_hdq_remove_slave(struct w1_slave *sl)
{}

static const struct w1_family_ops bq27xxx_battery_hdq_fops =;

static struct w1_family bq27xxx_battery_hdq_family =;

static int __init bq27xxx_battery_hdq_init(void)
{}
module_init();

static void __exit bq27xxx_battery_hdq_exit(void)
{}
module_exit(bq27xxx_battery_hdq_exit);

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