linux/drivers/mfd/wl1273-core.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * MFD driver for wl1273 FM radio and audio codec submodules.
 *
 * Copyright (C) 2011 Nokia Corporation
 * Author: Matti Aaltonen <[email protected]>
 */

#include <linux/mfd/wl1273-core.h>
#include <linux/slab.h>
#include <linux/module.h>

#define DRIVER_DESC

static const struct i2c_device_id wl1273_driver_id_table[] =;
MODULE_DEVICE_TABLE(i2c, wl1273_driver_id_table);

static int wl1273_fm_read_reg(struct wl1273_core *core, u8 reg, u16 *value)
{}

static int wl1273_fm_write_cmd(struct wl1273_core *core, u8 cmd, u16 param)
{}

static int wl1273_fm_write_data(struct wl1273_core *core, u8 *data, u16 len)
{}

/**
 * wl1273_fm_set_audio() -	Set audio mode.
 * @core:			A pointer to the device struct.
 * @new_mode:			The new audio mode.
 *
 * Audio modes are WL1273_AUDIO_DIGITAL and WL1273_AUDIO_ANALOG.
 */
static int wl1273_fm_set_audio(struct wl1273_core *core, unsigned int new_mode)
{}

/**
 * wl1273_fm_set_volume() -	Set volume.
 * @core:			A pointer to the device struct.
 * @volume:			The new volume value.
 */
static int wl1273_fm_set_volume(struct wl1273_core *core, unsigned int volume)
{}

static int wl1273_core_probe(struct i2c_client *client)
{}

static struct i2c_driver wl1273_core_driver =;

static int __init wl1273_core_init(void)
{}

static void __exit wl1273_core_exit(void)
{}
late_initcall(wl1273_core_init);
module_exit(wl1273_core_exit);

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