#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/mfd/core.h>
#include <linux/mfd/max14577.h>
#include <linux/mfd/max14577-private.h>
const struct maxim_charger_current maxim_charger_currents[] = …;
EXPORT_SYMBOL_GPL(…);
int maxim_charger_calc_reg_current(const struct maxim_charger_current *limits,
unsigned int min_ua, unsigned int max_ua, u8 *dst)
{ … }
EXPORT_SYMBOL_GPL(…);
static const struct mfd_cell max14577_devs[] = …;
static const struct mfd_cell max77836_devs[] = …;
static const struct of_device_id max14577_dt_match[] = …;
static bool max14577_muic_volatile_reg(struct device *dev, unsigned int reg)
{ … }
static bool max77836_muic_volatile_reg(struct device *dev, unsigned int reg)
{ … }
static const struct regmap_config max14577_muic_regmap_config = …;
static const struct regmap_config max77836_pmic_regmap_config = …;
static const struct regmap_irq max14577_irqs[] = …;
static const struct regmap_irq_chip max14577_irq_chip = …;
static const struct regmap_irq max77836_muic_irqs[] = …;
static const struct regmap_irq_chip max77836_muic_irq_chip = …;
static const struct regmap_irq max77836_pmic_irqs[] = …;
static const struct regmap_irq_chip max77836_pmic_irq_chip = …;
static void max14577_print_dev_type(struct max14577 *max14577)
{ … }
static int max77836_init(struct max14577 *max14577)
{ … }
static void max77836_remove(struct max14577 *max14577)
{ … }
static int max14577_i2c_probe(struct i2c_client *i2c)
{ … }
static void max14577_i2c_remove(struct i2c_client *i2c)
{ … }
static const struct i2c_device_id max14577_i2c_id[] = …;
MODULE_DEVICE_TABLE(i2c, max14577_i2c_id);
static int max14577_suspend(struct device *dev)
{ … }
static int max14577_resume(struct device *dev)
{ … }
static DEFINE_SIMPLE_DEV_PM_OPS(max14577_pm, max14577_suspend, max14577_resume);
static struct i2c_driver max14577_i2c_driver = …;
static int __init max14577_i2c_init(void)
{ … }
module_init(…) …;
static void __exit max14577_i2c_exit(void)
{ … }
module_exit(max14577_i2c_exit);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;