linux/drivers/power/supply/max8998_charger.c

// SPDX-License-Identifier: GPL-2.0+
//
// max8998_charger.c - Power supply consumer driver for the Maxim 8998/LP3974
//
//  Copyright (C) 2009-2010 Samsung Electronics
//  MyungJoo Ham <[email protected]>

#include <linux/err.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/power_supply.h>
#include <linux/mfd/max8998.h>
#include <linux/mfd/max8998-private.h>

struct max8998_battery_data {};

static enum power_supply_property max8998_battery_props[] =;

/* Note that the charger control is done by a current regulator "CHARGER" */
static int max8998_battery_get_property(struct power_supply *psy,
		enum power_supply_property psp,
		union power_supply_propval *val)
{}

static const struct power_supply_desc max8998_battery_desc =;

static int max8998_battery_probe(struct platform_device *pdev)
{}

static const struct platform_device_id max8998_battery_id[] =;

static struct platform_driver max8998_battery_driver =;

module_platform_driver();

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