treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / sound / soc / codecs / pcm1789.h
blobc446d789ed48d8ff20a0fbef35bbeebe33ccc71a
1 // SPDX-License-Identifier: GPL-2.0
2 // Definitions for PCM1789 audio driver
3 // Copyright (C) 2018 Bootlin
4 // Mylène Josserand <mylene.josserand@bootlin.com>
6 #ifndef __PCM1789_H__
7 #define __PCM1789_H__
9 #define PCM1789_FORMATS (SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_S24_LE | \
10 SNDRV_PCM_FMTBIT_S16_LE)
12 extern const struct regmap_config pcm1789_regmap_config;
14 int pcm1789_common_init(struct device *dev, struct regmap *regmap);
15 int pcm1789_common_exit(struct device *dev);
17 #endif