linux/drivers/mfd/cs42l43-i2c.c

// SPDX-License-Identifier: GPL-2.0
/*
 * CS42L43 I2C driver
 *
 * Copyright (C) 2022-2023 Cirrus Logic, Inc. and
 *                         Cirrus Logic International Semiconductor Ltd.
 */

#include <linux/array_size.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/mfd/cs42l43.h>
#include <linux/mfd/cs42l43-regs.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/pm.h>
#include <linux/regmap.h>

#include "cs42l43.h"

static const struct regmap_config cs42l43_i2c_regmap =;

static int cs42l43_i2c_probe(struct i2c_client *i2c)
{}

static void cs42l43_i2c_remove(struct i2c_client *i2c)
{}

#if IS_ENABLED(CONFIG_OF)
static const struct of_device_id cs42l43_of_match[] =;
MODULE_DEVICE_TABLE(of, cs42l43_of_match);
#endif

#if IS_ENABLED(CONFIG_ACPI)
static const struct acpi_device_id cs42l43_acpi_match[] =;
MODULE_DEVICE_TABLE(acpi, cs42l43_acpi_match);
#endif

static struct i2c_driver cs42l43_i2c_driver =;
module_i2c_driver();

MODULE_IMPORT_NS();

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