linux/drivers/power/supply/max8903_charger.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * max8903_charger.c - Maxim 8903 USB/Adapter Charger Driver
 *
 * Copyright (C) 2011 Samsung Electronics
 * MyungJoo Ham <[email protected]>
 */

#include <linux/gpio/consumer.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/slab.h>
#include <linux/power_supply.h>
#include <linux/platform_device.h>

struct max8903_data {};

static enum power_supply_property max8903_charger_props[] =;

static int max8903_get_property(struct power_supply *psy,
		enum power_supply_property psp,
		union power_supply_propval *val)
{}

static irqreturn_t max8903_dcin(int irq, void *_data)
{}

static irqreturn_t max8903_usbin(int irq, void *_data)
{}

static irqreturn_t max8903_fault(int irq, void *_data)
{}

static int max8903_setup_gpios(struct platform_device *pdev)
{}

static int max8903_probe(struct platform_device *pdev)
{}

static const struct of_device_id max8903_match_ids[] =;
MODULE_DEVICE_TABLE(of, max8903_match_ids);

static struct platform_driver max8903_driver =;

module_platform_driver();

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