mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 07:44:21 +08:00
6cefb62642
This function returns zero unconditionally, so there isn't any benefit of returning a value. Make it return void to be able to see at a glance that the return value of pcm1789_i2c_remove() is always zero. This patch is a preparation for making i2c remove callbacks return void. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20220425193023.61046-1-u.kleine-koenig@pengutronix.de Signed-off-by: Mark Brown <broonie@kernel.org>
18 lines
493 B
C
18 lines
493 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
// Definitions for PCM1789 audio driver
|
|
// Copyright (C) 2018 Bootlin
|
|
// Mylène Josserand <mylene.josserand@bootlin.com>
|
|
|
|
#ifndef __PCM1789_H__
|
|
#define __PCM1789_H__
|
|
|
|
#define PCM1789_FORMATS (SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_S24_LE | \
|
|
SNDRV_PCM_FMTBIT_S16_LE)
|
|
|
|
extern const struct regmap_config pcm1789_regmap_config;
|
|
|
|
int pcm1789_common_init(struct device *dev, struct regmap *regmap);
|
|
void pcm1789_common_exit(struct device *dev);
|
|
|
|
#endif
|